Skip to content

Commit 960f562

Browse files
committed
fix(action): fix docker tag
1 parent 16b745b commit 960f562

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ jobs:
4848
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4949
tags: |
5050
# set latest tag for default branch
51-
type=raw,value=latest,enable={{is_default_branch}}
51+
type=raw,value=latest,enable={{is_tag}}
52+
type=semver,pattern={{version}}
5253
5354
# Build and push Docker image with Buildx (don't push on PR)
5455
# https://github.com/docker/build-push-action

0 commit comments

Comments
 (0)