Skip to content

Commit 625f1b3

Browse files
committed
push sha tag
1 parent efe379d commit 625f1b3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ jobs:
2626
with:
2727
push: ${{ github.event_name != 'pull_request' }}
2828
meta-image: ghcr.io/crazy-max/test-builder-action
29+
meta-tags: |
30+
type=ref,event=branch
31+
type=ref,event=pr
32+
type=sha
2933
login-registry: ghcr.io
3034
login-username: ${{ github.actor }}
3135
secrets:
@@ -40,6 +44,10 @@ jobs:
4044
with:
4145
push: ${{ github.event_name != 'pull_request' }}
4246
meta-image: crazymax/test-builder-action
47+
meta-tags: |
48+
type=ref,event=branch
49+
type=ref,event=pr
50+
type=sha
4351
login-username: crazymax
4452
secrets:
4553
login-password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -53,6 +61,10 @@ jobs:
5361
with:
5462
push: ${{ github.event_name != 'pull_request' }}
5563
meta-image: ghcr.io/crazy-max/test-builder-action
64+
meta-tags: |
65+
type=ref,event=branch
66+
type=ref,event=pr
67+
type=sha
5668
meta-flavor: |
5769
suffix=-multi,latest=true
5870
login-registry: ghcr.io
@@ -70,6 +82,10 @@ jobs:
7082
with:
7183
push: ${{ github.event_name != 'pull_request' }}
7284
meta-image: crazymax/test-builder-action
85+
meta-tags: |
86+
type=ref,event=branch
87+
type=ref,event=pr
88+
type=sha
7389
meta-flavor: |
7490
suffix=-multi,latest=true
7591
login-username: crazymax

0 commit comments

Comments
 (0)