We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 312b2b1 commit 17fa4f5Copy full SHA for 17fa4f5
1 file changed
.github/workflows/publish-docker.yml
@@ -94,9 +94,9 @@ jobs:
94
tags: |
95
# For PRs: pr-123
96
type=ref,event=pr
97
- # For main branch: latest, main, and sha
+ # For branches: branch name (main, develop, etc)
98
type=ref,event=branch
99
- type=sha,prefix={{branch}}-
+ # For main branch: latest tag
100
type=raw,value=latest,enable={{is_default_branch}}
101
# For tags: v1.2.3 -> 1.2.3, 1.2, 1
102
type=semver,pattern={{version}}
0 commit comments