Fix docker push command to include registry in image path

This commit is contained in:
2025-06-04 11:35:43 +02:00
parent ff8ca3331d
commit ce4eae7532

View File

@@ -17,7 +17,7 @@ def call(Map args = [:]) {
sh "echo \$DOCKER_PASS | docker login ${registry} -u \$DOCKER_USER --password-stdin" sh "echo \$DOCKER_PASS | docker login ${registry} -u \$DOCKER_USER --password-stdin"
echo "Pushing Docker image: ${imageName}" echo "Pushing Docker image: ${imageName}"
sh "docker push ${imageName}" sh "docker push ${args.registry}/${imageName}"
} }
} }
} }