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}'") {
|
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
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue