From 40e0104e741141cd84a05d3158b4ef62a3c5b1d3 Mon Sep 17 00:00:00 2001 From: sridhar Date: Fri, 8 Sep 2023 22:08:53 +0530 Subject: [PATCH] changed image tags --- Jenkinsfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b16d8d10d..08d291b98 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,12 +10,12 @@ pipeline{ } } - // stage('artifact build'){ - // steps{ - // sh 'docker image build -t spc-3.9.4 .' - // sh 'docker image list' - // } - // } + stage('artifact build'){ + steps{ + sh 'docker image build -t spc-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 spc-3.9.4 .' - sh 'docker image tag spc-3.9.4 spc-3.9.4:${BUILD_ID}' + sh 'docker image build -t spc-1234.' + sh 'docker image tag spc-1234 spc-3.9.4:${BUILD_ID}' sh 'docker push sridhar006/spc-3.9.4:${BUILD_ID}' }