Skip to content

Commit dc88de8

Browse files
authored
Merge pull request #39 from LibreCodeCoop/codex/find-daily-usage-of-build-workflow-9vf4aw
Fix SHA tag prefix in Docker metadata to prevent invalid image tags
2 parents 3d8f56a + 03fb928 commit dc88de8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
tags: |
4747
type=ref,event=branch
4848
type=ref,event=pr
49-
type=sha,prefix={{branch}}-
49+
type=sha,prefix=sha-
5050
type=raw,value=latest,enable={{is_default_branch}}
5151
type=semver,pattern={{version}}
5252
type=semver,pattern={{major}}.{{minor}}
@@ -70,7 +70,7 @@ jobs:
7070
tags: |
7171
type=ref,event=branch
7272
type=ref,event=pr
73-
type=sha,prefix={{branch}}-
73+
type=sha,prefix=sha-
7474
type=raw,value=latest,enable={{is_default_branch}}
7575
type=semver,pattern={{version}}
7676
type=semver,pattern={{major}}.{{minor}}

0 commit comments

Comments
 (0)