mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
changed image
This commit is contained in:
parent
e76e2861f6
commit
e79c7a7397
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -12,7 +12,7 @@ pipeline{
|
|||
}
|
||||
stage('artifact build'){
|
||||
steps{
|
||||
sh 'docker image build -t spc-3.9.4 .'
|
||||
// sh 'docker image build -t spc-3.9.4 .'
|
||||
sh 'docker image list'
|
||||
}
|
||||
}
|
||||
|
@ -26,8 +26,8 @@ pipeline{
|
|||
}
|
||||
stage('docker push image '){
|
||||
steps{
|
||||
sh 'docker image build -t spc1234 .'
|
||||
sh 'docker image tag spc1234 sridhar006/spc-3.9.4:${BUILD_ID}'
|
||||
sh 'docker image build -t spc-3.9.4 .'
|
||||
sh 'docker image tag spc-3.9.4 sridhar006/spc-3.9.4:${BUILD_ID}'
|
||||
sh 'docker push sridhar006/spc-3.9.4:${BUILD_ID}'
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue