Actualiser Jenkinsfile
This commit is contained in:
parent
b33d2a51d2
commit
5ce6abe268
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -40,7 +40,7 @@ pipeline {
|
||||
script {
|
||||
def registryHostPort = env.DOCKER_REGISTRY_URL.split('//')[1].split('/')[0]
|
||||
|
||||
sh "echo \$DOCKER_PASSWORD | docker login -u \$DOCKER_USERNAME --password-stdin ${registryHostPort}"
|
||||
sh "echo \$DOCKER_PASSWORD | docker login -u \$DOCKER_USERNAME --password-stdin 172.75.13.27:3000"
|
||||
}
|
||||
|
||||
sh "docker push ${env.IMAGE_TAG}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user