changed image

This commit is contained in:
sridhar 2023-09-08 23:13:03 +05:30
parent 92f9124d69
commit d77fb3b68d
2 changed files with 3 additions and 3 deletions

4
Jenkinsfile vendored
View file

@ -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,7 +26,7 @@ pipeline{
}
stage('docker push image '){
steps{
sh 'docker image build -t spc-3.9.4 .'
// 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}'

View file

@ -25,7 +25,7 @@ spec:
spec:
containers:
- name: springpet-clinic
image: sridhar006/spc-3.9.4:14
image: sridhar006/spc-3.9.4:${BUILD_ID}
ports:
- containerPort: 8080