Update Jenkinsfile
All checks were successful
ecommerce-backend/pipeline/head This commit looks good
All checks were successful
ecommerce-backend/pipeline/head This commit looks good
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -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
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user