We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb09766 commit 7ab5128Copy full SHA for 7ab5128
.github/workflows/pr-ci.yml
@@ -178,10 +178,9 @@ jobs:
178
set -eo pipefail
179
180
# Determine the image tag to use.
181
+ image_tag="$(git tag --points-at HEAD)"
182
- if [[ -z "$(git tag --points-at HEAD)" ]]; then
183
- image_tag=$(git describe --tags)
184
- else
+ if [[ -z "$image_tag" ]]; then
185
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
186
ref_name="pr${{ github.event.pull_request.number }}"
187
else
@@ -477,7 +476,6 @@ jobs:
477
476
run:
478
shell: bash
479
env:
480
- EXPLICIT_IMAGE_TAG: ${{ needs.get-config.outputs.IMAGE_TAG }}-amd64
481
TYGER_ENVIRONMENT_NAME: ${{ needs.get-config.outputs.TYGER_ENVIRONMENT_NAME }}
482
483
steps:
0 commit comments