From: garciadeblas Date: Mon, 3 Oct 2022 14:16:56 +0000 (+0200) Subject: Minor fix in stage3 during push to dockerhub X-Git-Tag: v10.1.3~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=56b03b29a477cacaec596e8c7b84bdcf0e4adb00;p=osm%2Fdevops.git Minor fix in stage3 during push to dockerhub Change-Id: I54fb53d2e58443fe0900c1e0111bebaa6daf9d16 Signed-off-by: garciadeblas --- 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}" } }