From ac1dc03afd385c8c949f33806dd3081d96db50e8 Mon Sep 17 00:00:00 2001 From: andrewso <9V5f1FkzI2LD> Date: Fri, 26 Jun 2020 16:18:51 +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 d34e6e5..c81e5e3 100644 --- a/configuration/pipelines/build.groovy +++ b/configuration/pipelines/build.groovy @@ -73,8 +73,8 @@ try { def latest = docker.build("${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:latest") // latest.push() // } - sh "docker tag ${image} ${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:${env.APPLICATION_VERSION}" - sh "docker tag ${latest} ${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:latest" + sh "docker tag ${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:${env.APPLICATION_VERSION}" + sh "docker tag ${env.DOCKER_REPOSITORY}/${env.APPLICATION_NAME}:latest" sh "docker push ${env.DOCKER_REPOSITORY}/${image}" sh "docker push ${env.DOCKER_REPOSITORY}/${latest}"