This commit is contained in:
sridhar 2023-09-08 17:36:23 +05:30
parent a8684cbd83
commit 5a47ea3781
2 changed files with 3 additions and 3 deletions

4
Jenkinsfile vendored
View file

@ -27,8 +27,8 @@ pipeline{
stage('docker push image '){
steps{
sh 'docker image build -t spc123 .'
sh 'docker image tag spc123 sridhar006/spc-mvn:3.9.4:${BUILD_ID}'
sh 'docker push sridhar006/spc-mvn:3.9.4:${BUILD_ID}'
sh 'docker image tag spc123 sridhar006/spc-mvn-3.9.4:${BUILD_ID}'
sh 'docker push sridhar006/spc-mvn-3.9.4:${BUILD_ID}'
}
}

View file

@ -25,7 +25,7 @@ spec:
spec:
containers:
- name: nop
image: spc-mvn:3.9.4:${BUILD_ID}
image: spc-mvn-3.9.4:${BUILD_ID}
ports:
- containerPort: 8080