fix(kube): using current branch name in tags
This commit is contained in:
parent
bdaef91251
commit
418891082a
@ -47,7 +47,7 @@ String buildAndPublishImage(Map options = [:]) {
|
||||
stage("Build image '${imageName}:${imageTag}'") {
|
||||
git.withHTTPCredentials(gitCredentialsId) {
|
||||
sh """
|
||||
make
|
||||
CURRENT_BRANCH=${BRANCH_NAME} make
|
||||
"""
|
||||
}
|
||||
}
|
||||
@ -62,7 +62,7 @@ String buildAndPublishImage(Map options = [:]) {
|
||||
utils.when(!dryRun) {
|
||||
retry(2) {
|
||||
sh """
|
||||
make release
|
||||
CURRENT_BRANCH=${BRANCH_NAME} make release
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user