We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent affd97d commit 8ecbed7Copy full SHA for 8ecbed7
.github/workflows/docker-publish.yml
@@ -41,11 +41,9 @@ jobs:
41
with:
42
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
43
tags: |
44
- type=ref,event=branch
45
- type=ref,event=pr
+ type=raw,value=latest,enable={{is_default_branch}}
+ type=sha,prefix={{branch}}-
46
type=semver,pattern={{version}}
47
- type=semver,pattern={{major}}.{{minor}}
48
- type=sha,prefix=
49
50
- name: Build and push Docker image
51
uses: docker/build-push-action@v6
0 commit comments