Skip to content

Commit 7d495c1

Browse files
committed
fix: alpha and beta branches image tag
1 parent 15dfde8 commit 7d495c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugins/contrib/values-compilers/06-global-defaults.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ module.exports = async (values, options, { config, utils, ctx }) => {
4545
} else {
4646
imageTag = "prod"
4747
}
48+
} else if (gitBranch === "alpha" || gitBranch === "beta") {
49+
// Exception: alpha/beta branches should use a stable tag (not sha/persist)
50+
imageTag = gitBranch
4851
} else if (patternMatch(gitBranch, persistPatterns)) {
4952
imageTag = `persist-${sha}`
5053
} else {

0 commit comments

Comments
 (0)