mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:25:50 +00:00
add http to .push()
This commit is contained in:
parent
41f7d4b720
commit
730a0f69f0
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -48,7 +48,7 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
def docker_image=docker.build("mr:8084/spring-petclinic:$GIT_COMMIT")
|
def docker_image=docker.build("mr:8084/spring-petclinic:$GIT_COMMIT")
|
||||||
sh 'docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS" mr:8084'
|
sh 'docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS" mr:8084'
|
||||||
docker.withRegistry('mr:8084') {
|
docker.withRegistry('http://mr:8084') {
|
||||||
docker_image.push()
|
docker_image.push()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue