Skip to content

Commit 4170e90

Browse files
committed
Fix ghcr name if triggered by tag
1 parent 337e912 commit 4170e90

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish_images.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
run: |
3939
if [[ "${{ github.event_name }}" == "release" ]]; then
4040
echo "DOCKER_IMAGE_TAG=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
41+
elif [[ "${{ github.ref_type }}" == "tag" ]]; then
42+
echo "DOCKER_IMAGE_TAG=${{ github.ref_name }}" >> $GITHUB_ENV
4143
else
4244
echo "DOCKER_IMAGE_TAG=latest" >> $GITHUB_ENV
4345
fi

0 commit comments

Comments
 (0)