Update Jenkinsfile
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -69,7 +69,7 @@ pipeline {
|
||||
echo "Logging into Docker registry..."
|
||||
sh "echo $DOCKER_PASS | docker login ${DOCKER_REGISTRY} -u $DOCKER_USER --password-stdin"
|
||||
echo "Pushing Docker image..."
|
||||
sh "docker push ${DOCKER_REGISTRY}/${IMAGE_NAME}:${BUILD_ID}"
|
||||
sh "docker push ${DOCKER_REGISTRY}/public/${IMAGE_NAME}:${BUILD_ID}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user