Skip to content

Commit 1e90740

Browse files
authored
Merge pull request #231 from UW-Macrostrat/update-iamge-build
Update image build action
2 parents 14e217d + 568a441 commit 1e90740

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-image.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
tags: |
2626
type=raw,value=sha-{{sha}}
2727
type=raw,value=latest-itb
28-
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-')}}
29-
type=raw,value=latest-itb-{{date 'YYYYMMDDHHmmss'}}
28+
type=raw,value=latest-,suffix={{date 'YYYYMMDDHHmmss'}},enable=${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-')}}
29+
type=raw,value=latest-itb-,suffix={{date 'YYYYMMDDHHmmss'}},enable=${{ startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-')}}
3030
type=ref,event=pr,suffix=-{{date 'YYYYMMDDHHmmss'}}
3131
type=ref,event=branch,suffix=-{{date 'YYYYMMDDHHmmss'}}
3232
type=ref,event=tag,suffix=-{{date 'YYYYMMDDHHmmss'}}

0 commit comments

Comments
 (0)