Skip to content

Commit d48cbf7

Browse files
Update docker-publish.yml
1 parent 6892fb3 commit d48cbf7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ jobs:
6464
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
6565
with:
6666
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
67+
tags: |
68+
type=semver,pattern={{version}}
69+
type=semver,pattern={{major}}.{{minor}}
70+
type=semver,pattern={{major}}
71+
type=sha
6772
6873
# Build and push Docker image with Buildx (don't push on PR)
6974
# https://github.com/docker/build-push-action

0 commit comments

Comments
 (0)