From 03c2ece9a20794f0d607869f0ff9143d1722a10a Mon Sep 17 00:00:00 2001 From: Joseph Manley Date: Thu, 18 Jul 2019 16:41:23 -0400 Subject: [PATCH] tag latest --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 43a60d1..2ba6340 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -81,6 +81,7 @@ pipeline { { if("${env.BRANCH_NAME}" != "develop") { + sh "docker tag ${env.DOCKER_REGISTRY}/${env.SERVICE}:${env.VERSION} ${env.DOCKER_REGISTRY}/${env.SERVICE}:latest" sh "docker push ${env.DOCKER_REGISTRY}/${env.SERVICE}:latest" } }