diff --git a/Jenkinsfile b/Jenkinsfile index e9f4edcc0..b8bc92c37 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,16 +12,13 @@ pipeline { when { anyOf { branch 'master' - branch 'release' buildingTag() } } steps { script { env.DOCKER_TAG = 'master' - if (env.BRANCH_NAME == 'release') { - env.DOCKER_TAG = 'release' - } + if (env.TAG_NAME) { env.DOCKER_TAG = env.TAG_NAME } @@ -39,4 +36,4 @@ pipeline { } } } -} \ No newline at end of file +}