Skip to content

Commit

Permalink
updated how extracting tag annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamna committed Aug 6, 2024
1 parent c7cb10d commit 707b0e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
id: extract-image-name
run: |
TAG_MESSAGE=$(git tag -l --format='%(contents)' ${{ env.TAG }})
TAG_MESSAGE=$(git tag -n1 ${{ env.TAG }})
echo ${{ env.TAG }} $TAG_MESSAGE
if [[ "$TAG_MESSAGE" =~ build\/([^ ]+) ]]; then
IMAGE_NAME=${BASH_REMATCH[1]}
Expand Down

0 comments on commit 707b0e1

Please sign in to comment.