Skip to content

Commit

Permalink
ci(pytest): move where default ci-development tag is set
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Oct 22, 2023
1 parent 0b5c008 commit 4aa8451
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/r-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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) }}
Expand Down

0 comments on commit 4aa8451

Please sign in to comment.