Skip to content

Commit

Permalink
Use correct variable
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilKWarmdahl committed Oct 29, 2024
1 parent d84dd1a commit 8e90178
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ jobs:
- name: Get the Image tag
env:
TAG: ${{ github.ref_name }}
run: echo "IMAGE_TAG=${TAG##ekw/SRE-1004/release-*}" #run: echo "IMAGE_TAG=${TAG##release/base-image-*}" >> $GITHUB_ENV
run: echo "IMAGE_TAG=${TAG##ekw/SRE-1004/release-*} >> $GITHUB_ENV" #run: echo "IMAGE_TAG=${TAG##release/base-image-*}" >> $GITHUB_ENV

- name: Check if image exist
run: |
set +e
echo ${{env.IMAGE_TAG}}
docker manifest inspect ${{env.IMAGE_NAME}}:${{env.IMAGE_TAG}}
exitcode=$?
if [ $exitcode -eq "0" ]; then
Expand Down

0 comments on commit 8e90178

Please sign in to comment.