add http to .push()

This commit is contained in:
TomPGrid 2025-02-28 13:53:06 +01:00
parent 41f7d4b720
commit 730a0f69f0

2
Jenkinsfile vendored
View file

@ -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()
} }
} }