Skip to content

Commit d5e6c7d

Browse files
authored
Add long format tag for SHA in GitHub Actions
1 parent d87d180 commit d5e6c7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-push-ghcr.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
tags: |
4747
type=ref,event=branch
4848
type=sha
49+
type=sha,format=long
4950
type=ref,event=pr
5051
type=raw,value=${{ inputs.branch }},enable=${{ github.event_name == 'workflow_dispatch' }}
5152
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' }}

0 commit comments

Comments
 (0)