Update Jenkinsfile
All checks were successful
ecommerce-backend/pipeline/head This commit looks good

This commit is contained in:
2026-03-12 05:30:55 +00:00
parent 397e40f78b
commit fdd620dfe2

2
Jenkinsfile vendored
View File

@@ -52,7 +52,7 @@ pipeline {
passwordVariable: 'HARBOR_PASS' passwordVariable: 'HARBOR_PASS'
)]) { )]) {
sh """ sh """
echo "\$HARBOR_PASS" | docker login http://${HARBOR} -u "\$HARBOR_USER" --password-stdin echo "\$HARBOR_PASS" | docker login https://${HARBOR} -u "\$HARBOR_USER" --password-stdin
docker push ${IMAGE}:${env.TAG} docker push ${IMAGE}:${env.TAG}
docker push ${IMAGE}:latest docker push ${IMAGE}:latest
""" """