Skip to content

Commit 817aa89

Browse files
committed
testing out new workflow tags
1 parent a9c4387 commit 817aa89

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/build-image.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ jobs:
2929
type=ref,event=tag,suffix=-{{date 'YYYYMMDDHHmmss'}}
3030
type=semver,pattern={{version}}
3131
type=semver,pattern={{version}},suffix=-{{date 'YYYYMMDDHHmmss'}}
32+
# When a PRODUCTION tag (vX.Y.Z) is pushed → also tag staging and dev
33+
type=raw,value=main-{{date 'YYYYMMDDHHmmgss'}},enable=${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-') }}
34+
type=semver,pattern={{version}},suffix=-beta.{{date 'YYYYMMDDHHmmss'}},enable=${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-') }}
35+
36+
# When a STAGING prerelease tag (vX.Y.Z-*) is pushed → also tag dev
37+
type=raw,value=main-{{date 'YYYYMMDDHHmmss'}},enable=${{ startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-') }}
3238
flavor: |
3339
latest=false
3440
- name: Set up Docker Buildx

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@macrostrat/api-v2",
3-
"version": "2.1.0-beta.4",
3+
"version": "2.1.1-beta.1",
44
"description": "An API for stratigraphic and geological information (Version 2).",
55
"main": "server.js",
66
"repository": {

0 commit comments

Comments
 (0)