Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit 49b817e

Browse files
committed
Update build actions
1 parent 252f1da commit 49b817e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/build-dev.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
tags: |
2626
type=semver,pattern={{version}}
2727
type=raw,value=latest-itb
28-
type=raw,value={{tag}}-{{date 'YYYYMMDDHHmmss'}}
28+
type=ref,event=branch,suffix=-{{date 'YYYYMMDDHHmmss'}}
29+
type=ref,event=tag,suffix=-{{date 'YYYYMMDDHHmmss'}}
2930
type=raw,value=latest-itb-{{date 'YYYYMMDDHHmmss'}}
3031
type=raw,value=sha-{{sha}}
3132
-

.github/workflows/build-prod.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
with:
2222
images: hub.opensciencegrid.org/macrostrat/ingest_api
2323
tags: |
24+
type=ref,event=branch,suffix=-{{date 'YYYYMMDDHHmmss'}}
2425
type=semver,pattern={{version}}
2526
type=raw,value=latest,enable={{is_default_branch}}
2627
type=raw,value=sha-{{sha}}

0 commit comments

Comments
 (0)