From 8403b8c4deb9c26ea175d29a27d3801908f031f1 Mon Sep 17 00:00:00 2001 From: sridhar Date: Fri, 8 Sep 2023 21:58:33 +0530 Subject: [PATCH] changed image tags --- Jenkinsfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 27c7c7796..838ec6c31 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,12 +10,12 @@ pipeline{ } } - stage('artifact build'){ - steps{ - sh 'docker image build -t spc-mvn-3.9.4 .' - sh 'docker image list' - } - } + // stage('artifact build'){ + // steps{ + // sh 'docker image build -t spc-mvn-3.9.4 .' + // sh 'docker image list' + // } + // } stage('docker login'){ steps{ @@ -26,8 +26,8 @@ pipeline{ } stage('docker push image '){ steps{ - // sh 'docker image build -t spc123 .' - sh 'docker image tag spc123 spc-mvn-3.9.4:${BUILD_ID}' + sh 'docker image build -t spc-mvn-3.9.4 .' + sh 'docker image tag spc-mvn-3.9.4:${BUILD_ID}' sh 'docker push sridhar006/spc-mvn-3.9.4:${BUILD_ID}' }