Skip to content

Commit 674f0b9

Browse files
committed
fixed prod workflow
1 parent 610213e commit 674f0b9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-image.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ jobs:
2929
type=ref,event=tag,suffix=-{{date 'YYYYMMDDHHmmss'}}
3030
type=semver,pattern={{version}}
3131
type=semver,pattern={{version}},suffix=-{{date 'YYYYMMDDHHmmss'}}
32+
3233
# 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=raw,value=main-{{date 'YYYYMMDDHHmmss'}},enable=${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-') }}
3435
type=semver,pattern={{version}},suffix=-beta.{{date 'YYYYMMDDHHmmss'}},enable=${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-') }}
36+
type=semver,pattern={{version}},suffix=-beta,enable=${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-') }}
3537
3638
# When a STAGING prerelease tag (vX.Y.Z-*) is pushed → also tag dev
3739
type=raw,value=main-{{date 'YYYYMMDDHHmmss'}},enable=${{ startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-') }}

0 commit comments

Comments
 (0)