Skip to content

Commit 185876b

Browse files
grahamalamadavehunt
authored andcommitted
Remove sha- prefix from image tags (mozilla#1012)
See: https://github.com/docker/metadata-action?tab=readme-ov-file#typesha We're doing this so that we can associate deployments with a specific git ref (which is easier to do without having to strip off the sha- prefix)
1 parent 757db9b commit 185876b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
tags: |
4141
type=semver,pattern={{raw}}
4242
type=raw,value=latest,enable={{is_default_branch}}
43-
type=sha,enable={{is_default_branch}}
43+
type=sha,prefix=,enable={{is_default_branch}}
4444
4545
- name: Login to Docker Hub
4646
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)