Should not build web image on release branch
This commit is contained in:
committed by
Dat H. Pham
parent
6a33d031a1
commit
389611c9b9
Vendored
-3
@@ -12,7 +12,6 @@ pipeline {
|
||||
when {
|
||||
anyOf {
|
||||
branch 'master'
|
||||
branch 'release'
|
||||
buildingTag()
|
||||
}
|
||||
}
|
||||
@@ -21,8 +20,6 @@ pipeline {
|
||||
env.DOCKER_TAG = 'master'
|
||||
if (env.TAG_NAME) {
|
||||
env.DOCKER_TAG = env.TAG_NAME
|
||||
} else {
|
||||
env.DOCKER_TAG = env.BRANCH_NAME
|
||||
}
|
||||
|
||||
echo "Docker tag: ${env.DOCKER_TAG}"
|
||||
|
||||
Reference in New Issue
Block a user