Skip to content

Commit cb19908

Browse files
committed
Use github.event.release.tag_name instead of github.ref_name for more reliable tag extraction
1 parent 1f0b35c commit cb19908

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docker-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
id: vars
4141
run: |
4242
if [[ "${{ github.event_name }}" == "release" ]]; then
43-
echo "TAGS=ghcr.io/robertzaage/grobro:latest,ghcr.io/robertzaage/grobro:${{ github.ref_name }}" >> $GITHUB_ENV
43+
echo "TAGS=ghcr.io/robertzaage/grobro:latest,ghcr.io/robertzaage/grobro:${{ github.event.release.tag_name }}" >> $GITHUB_ENV
4444
else
4545
echo "TAGS=ghcr.io/robertzaage/grobro:dev" >> $GITHUB_ENV
4646
fi

0 commit comments

Comments
 (0)