Skip to content

Commit e939b6e

Browse files
authored
Refactoring
1 parent b2b7a69 commit e939b6e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ jobs:
7070
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
7171
with:
7272
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
73+
tags: |
74+
type=schedule
75+
type=ref,event=branch
76+
type=ref,event=pr
77+
type=semver,pattern={{version}}
78+
type=semver,pattern={{major}}.{{minor}}
79+
type=raw,value=latest,enable={{is_default_branch}}
7380
7481
# Build and push Docker image with Buildx (don't push on PR)
7582
# https://github.com/docker/build-push-action

0 commit comments

Comments
 (0)