Edit Jenkinsfile

This commit is contained in:
Viktoriia Karpenko 2024-12-18 14:23:58 +02:00
parent d3a4dde387
commit 40a4a597d4

4
Jenkinsfile vendored
View file

@ -25,8 +25,8 @@ pipeline {
} }
stage ('Creating Docker image') { stage ('Creating Docker image') {
steps { steps {
sh 'docker build -t vkarpenko02/spring-petclinic:${GIT_COMMIT} .' sh 'docker build -t vkarpenko02/mr:${GIT_COMMIT} .'
sh 'docker push vkarpenko02/mr' sh 'docker push vkarpenko02/mr:${GIT_COMMIT}'
} }
} }
} }