From 56b03b29a477cacaec596e8c7b84bdcf0e4adb00 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Mon, 3 Oct 2022 16:16:56 +0200 Subject: [PATCH] Minor fix in stage3 during push to dockerhub Change-Id: I54fb53d2e58443fe0900c1e0111bebaa6daf9d16 Signed-off-by: garciadeblas --- jenkins/ci-pipelines/ci_stage_3.groovy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 98acd29a..c428e083 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -606,7 +606,9 @@ EOF""" parallelSteps[module] = { dir("$module") { - sh "docker tag opensourcemano/${moduleName}:${moduleTag} opensourcemano/${moduleName}:${dockerTag}" + sh("docker pull ${INTERNAL_DOCKER_REGISTRY}opensourcemano/${moduleName}:${moduleTag}") + sh("""docker tag opensourcemano/${moduleName}:${moduleTag} \ + opensourcemano/${moduleName}:${dockerTag}""") sh "docker push opensourcemano/${moduleName}:${dockerTag}" } } -- 2.25.1