mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 14:55:50 +00:00
Edit Jenkinsfile
This commit is contained in:
parent
623fb38fba
commit
b14897a798
1 changed files with 5 additions and 0 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -24,6 +24,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage ('Creating Docker image') {
|
stage ('Creating Docker image') {
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'docker:latest'
|
||||||
|
}
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'docker build -t vkarpenko02/spring-petclinic:${GIT_COMMIT} .'
|
sh 'docker build -t vkarpenko02/spring-petclinic:${GIT_COMMIT} .'
|
||||||
sh 'docker push vkarpenko02/mr'
|
sh 'docker push vkarpenko02/mr'
|
||||||
|
|
Loading…
Reference in a new issue