From 4aa8451b7eab4dd68ff2491508ef27e02b700c70 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Sun, 22 Oct 2023 05:48:22 +0100 Subject: [PATCH] ci(pytest): move where default ci-development tag is set --- .github/workflows/r-pytest.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/r-pytest.yml b/.github/workflows/r-pytest.yml index 16e3ee3e95..10f0982b14 100644 --- a/.github/workflows/r-pytest.yml +++ b/.github/workflows/r-pytest.yml @@ -8,7 +8,7 @@ on: required: false type: string cache_imgs: - description: "Space separated list of images to cache on each run." + description: "Space separated list of images to cache on each run (e.g. to avoid rate limiting)." required: false type: string docker_compose_file: @@ -105,7 +105,7 @@ jobs: done # Cache backend build (fallback to ci-development tag) - image_tag=${{ needs.backend-test-build.outputs.image_tag || 'ci-development' }} + image_tag=${{ needs.backend-test-build.outputs.image_tag }} image="ghcr.io/${{ github.repository }}/backend:${image_tag}" pull_and_package_image "$image" echo "API_TAG_OVERRIDE=${image_tag}" >> $GITHUB_ENV @@ -130,7 +130,7 @@ jobs: - name: Vars and Secrets to Env env: - API_TAG_OVERRIDE: ${{ env.API_TAG_OVERRIDE }} + API_TAG_OVERRIDE: ${{ env.API_TAG_OVERRIDE || 'ci-development' }} GIT_BRANCH: ${{ github.ref_name }} VARS_CONTEXT: ${{ toJson(vars) }} SECRETS_CONTEXT: ${{ toJson(secrets) }}