mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 08:15:49 +00:00
changed image tags
This commit is contained in:
parent
249c49c01c
commit
8403b8c4de
1 changed files with 8 additions and 8 deletions
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
|
@ -10,12 +10,12 @@ pipeline{
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('artifact build'){
|
// stage('artifact build'){
|
||||||
steps{
|
// steps{
|
||||||
sh 'docker image build -t spc-mvn-3.9.4 .'
|
// sh 'docker image build -t spc-mvn-3.9.4 .'
|
||||||
sh 'docker image list'
|
// sh 'docker image list'
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
stage('docker login'){
|
stage('docker login'){
|
||||||
steps{
|
steps{
|
||||||
|
@ -26,8 +26,8 @@ pipeline{
|
||||||
}
|
}
|
||||||
stage('docker push image '){
|
stage('docker push image '){
|
||||||
steps{
|
steps{
|
||||||
// sh 'docker image build -t spc123 .'
|
sh 'docker image build -t spc-mvn-3.9.4 .'
|
||||||
sh 'docker image tag spc123 spc-mvn-3.9.4:${BUILD_ID}'
|
sh 'docker image tag spc-mvn-3.9.4:${BUILD_ID}'
|
||||||
sh 'docker push sridhar006/spc-mvn-3.9.4:${BUILD_ID}'
|
sh 'docker push sridhar006/spc-mvn-3.9.4:${BUILD_ID}'
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue