Skip to content

Commit 8f921ee

Browse files
committed
ci: add commit hash tag to image tags
1 parent afb7326 commit 8f921ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ jobs:
2222
with:
2323
images: |
2424
name=ghcr.io/${{ github.repository }}
25+
tags: |
26+
type=schedule
27+
type=ref,event=branch
28+
type=ref,event=tag
29+
type=ref,event=pr
30+
type=sha,prefix=sha-,suffix=,format=short
2531
- name: Login to ghcr.io
2632
uses: docker/login-action@v1
2733
with:

0 commit comments

Comments
 (0)