From 249c49c01ca1232239050192dc782ffa26d80a78 Mon Sep 17 00:00:00 2001 From: sridhar Date: Fri, 8 Sep 2023 21:40:18 +0530 Subject: [PATCH] changed docker repo image --- Jenkinsfile | 6 +++--- deployement.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9b302b561..27c7c7796 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,7 +12,7 @@ pipeline{ } stage('artifact build'){ 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' } } @@ -26,8 +26,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 image build -t spc123 .' + sh 'docker image tag spc123 spc-mvn-3.9.4:${BUILD_ID}' sh 'docker push sridhar006/spc-mvn-3.9.4:${BUILD_ID}' } diff --git a/deployement.yaml b/deployement.yaml index 37bd61f2b..7d9a9be5f 100644 --- a/deployement.yaml +++ b/deployement.yaml @@ -25,7 +25,7 @@ spec: spec: containers: - name: springpet-clinic - image: spc-mvn-3.9.4:5 + image: sridhar006/spc-mvn-3.9.4:3 ports: - containerPort: 8080