Fix docker tag in stage3 to coexist with periodic clean-up 85/13085/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 23 Mar 2023 13:04:09 +0000 (14:04 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 23 Mar 2023 13:04:09 +0000 (14:04 +0100)
Change-Id: I1ce9a5de84e0bcedd7abaecfa0fb6d753b853cb7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
jenkins/ci-pipelines/ci_stage_3.groovy

index 620faba..fb5120d 100644 (file)
@@ -638,7 +638,7 @@ EOF"""
                                 parallelSteps[module] = {
                                     dir("$module") {
                                         sh("docker pull ${INTERNAL_DOCKER_REGISTRY}opensourcemano/${moduleName}:${moduleTag}")
-                                        sh("""docker tag opensourcemano/${moduleName}:${moduleTag} \
+                                        sh("""docker tag ${INTERNAL_DOCKER_REGISTRY}opensourcemano/${moduleName}:${moduleTag} \
                                            opensourcemano/${moduleName}:${dockerTag}""")
                                         sh "docker push opensourcemano/${moduleName}:${dockerTag}"
                                     }