← azuredeploy

Push secondary image also, authenticate once

c3ecfed67df9b79678997862bcb9159efa6bd2c8 · ovidiucs · Mar 22, 2024 17:58

+2 −2 · 1 file changed

  • jenkins/Jenkinsfile +2 −2
diff --git a/jenkins/Jenkinsfile b/jenkins/Jenkinsfile
index d138c79..b8b6e12 100644
--- a/jenkins/Jenkinsfile
+++ b/jenkins/Jenkinsfile
@@ -55,8 +55,8 @@ pipeline {
                     docker.withRegistry(dockerRegistryUrl, 'myACRCredentials') {
                         // Push Primary Docker image to registry
                         docker.image(env.DOCKER_IMAGE_NAME).push('latest')
-                        // If you need to push the secondary image, uncomment the following line:
-                        // docker.image(env.DOCKER_IMAGE_NAME_SECONDARY).push('latest')
+                        // If you need to push the secondary image
+                        docker.image(env.DOCKER_IMAGE_NAME_SECONDARY).push('latest')
                     }
                 }
             }