bug fixing

This commit is contained in:
TomPGrid 2025-02-28 11:27:24 +01:00
parent 059954ae34
commit ee7775d2ad

2
Jenkinsfile vendored
View file

@ -32,9 +32,11 @@ pipeline {
}
stage('Build Image') {
agent {
docker {
image 'docker:20.10.16'
args '--privileged -v /var/run/docker.sock:/var/run/docker.sock'
}
}
steps {
sh 'docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS" mr:8084'
sh 'docker build -t mr:8084/spring-petclinic:${GIT_COMMIT} .'