Skip to content

Commit 17fa4f5

Browse files
committed
fix: Invalid reference format for docker builds
1 parent 312b2b1 commit 17fa4f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish-docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ jobs:
9494
tags: |
9595
# For PRs: pr-123
9696
type=ref,event=pr
97-
# For main branch: latest, main, and sha
97+
# For branches: branch name (main, develop, etc)
9898
type=ref,event=branch
99-
type=sha,prefix={{branch}}-
99+
# For main branch: latest tag
100100
type=raw,value=latest,enable={{is_default_branch}}
101101
# For tags: v1.2.3 -> 1.2.3, 1.2, 1
102102
type=semver,pattern={{version}}

0 commit comments

Comments
 (0)