From 557b66fd372278192b0e4b0206c7a8416965d6db Mon Sep 17 00:00:00 2001 From: andrewso <9V5f1FkzI2LD> Date: Fri, 26 Jun 2020 16:24:48 +0100 Subject: [PATCH] [26.06.20] Pipeline Changes --- configuration/pipelines/build.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration/pipelines/build.groovy b/configuration/pipelines/build.groovy index c7f9d62..7b04170 100644 --- a/configuration/pipelines/build.groovy +++ b/configuration/pipelines/build.groovy @@ -73,8 +73,8 @@ try { docker.build("${env.APPLICATION_NAME}:latest") // latest.push() // } - sh "docker tag ${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:${env.APPLICATION_VERSION}" - sh "docker tag ${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:latest" + sh "docker tag ${env.APPLICATION_NAME}:${env.APPLICATION_VERSION} ${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:${env.APPLICATION_VERSION}" + sh "docker tag ${env.APPLICATION_NAME}:latest ${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:latest" sh "docker push ${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:${env.APPLICATION_VERSION}" sh "docker push ${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:latest"