Skip to content

Commit 4501bf5

Browse files
authored
add tags (#22)
1 parent dc4ac09 commit 4501bf5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docker-publish.yml

+4
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
uses: docker/metadata-action@v3
5151
with:
5252
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
53+
tags: |
54+
type=ref,event=branch
55+
type=ref,event=pr
56+
type=semver,pattern={{version}}
5357
5458
# Build and push Docker image with Buildx (don't push on PR)
5559
# https://github.com/docker/build-push-action

0 commit comments

Comments
 (0)