We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a24bf40 commit e9c192cCopy full SHA for e9c192c
1 file changed
htmlSanityCheck-cli/build.gradle
@@ -42,6 +42,9 @@ def dockerTags(Project project) {
42
if (currentBranch == 'main') {
43
// On the main branch we should have the latest major prepended with 'v' for GH actions
44
result += [ 'v' + project.version.substring(0, 1) ]
45
+ } else {
46
+ String branchTag = currentBranch.replaceAll('/', '-')
47
+ result += [branchTag]
48
}
49
50
return result
0 commit comments