Skip to content

Commit 03b3d1c

Browse files
johnzastrowclaude
andcommitted
fix: use static 'sha-' prefix for Docker SHA tag
{{branch}} is empty when triggered by a tag event, producing an invalid tag like '-b01bd4fXXX' (leading dash). Replace with static 'sha-' prefix. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b01bd4f commit 03b3d1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docker-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
type=semver,pattern=v{{major}}.{{minor}}
5858
type=semver,pattern=v{{major}}
5959
type=raw,value=latest,enable={{is_default_branch}}
60-
type=sha,prefix={{branch}}-
60+
type=sha,prefix=sha-
6161
type=raw,value=build-${{ github.run_number }}
6262
labels: |
6363
org.opencontainers.image.title=ActaLog

0 commit comments

Comments
 (0)