Edit Jenkinsfile

This commit is contained in:
Viktoriia Karpenko 2024-12-15 00:10:24 +02:00
parent 86d9202254
commit d3a4dde387

6
Jenkinsfile vendored
View file

@ -24,12 +24,6 @@ pipeline {
}
}
stage ('Creating Docker image') {
agent {
docker {
image 'docker:20.10'
args '-v /var/run/docker.sock:/var/run/docker.sock'
}
}
steps {
sh 'docker build -t vkarpenko02/spring-petclinic:${GIT_COMMIT} .'
sh 'docker push vkarpenko02/mr'