changed how push is invoked

This commit is contained in:
TomPGrid 2025-02-28 12:16:55 +01:00
parent e91127bd32
commit d1848d7c04

2
Jenkinsfile vendored
View file

@ -43,7 +43,7 @@ pipeline {
def docker_image=docker.build("mr:8084/spring-petclinic:$GIT_COMMIT")
sh 'docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS" mr:8084'
docker_image.push('$GIT_COMMIT')
docker_image.push()
sh 'docker push mr:8084/spring-petclinic:$GIT_COMMIT'
}
}