change how variables are called

This commit is contained in:
TomPGrid 2025-02-28 12:10:22 +01:00
parent f19d6dd57e
commit 644f7ff875

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('${GIT_COMMIT}')
sh 'docker push mr:8084/spring-petclinic:${GIT_COMMIT}'
}
}