fix(kube): using current branch name in tags

This commit is contained in:
Philippe Caseiro 2023-06-19 16:33:09 +02:00
parent bdaef91251
commit 418891082a
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ String buildAndPublishImage(Map options = [:]) {
stage("Build image '${imageName}:${imageTag}'") { stage("Build image '${imageName}:${imageTag}'") {
git.withHTTPCredentials(gitCredentialsId) { git.withHTTPCredentials(gitCredentialsId) {
sh """ sh """
make CURRENT_BRANCH=${BRANCH_NAME} make
""" """
} }
} }
@ -62,7 +62,7 @@ String buildAndPublishImage(Map options = [:]) {
utils.when(!dryRun) { utils.when(!dryRun) {
retry(2) { retry(2) {
sh """ sh """
make release CURRENT_BRANCH=${BRANCH_NAME} make release
""" """
} }
} }