diff --git a/Jenkinsfile b/Jenkinsfile index 336c909..e2a1173 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,7 @@ pipeline { } steps { sh "docker build --build-arg ENV_NAME=${params.ENVIRONMENT} -t 10.50.10.93:5000/livecarta_wp:qa ." - sh 'docker push 10.50.10.93:5000/livecarta_base:qa_test' + sh 'docker push 10.50.10.93:5000/livecarta_wp:qa' } } stage('Build Base DEV Docker Image') { @@ -24,8 +24,8 @@ pipeline { branch 'develop' } steps { - sh "docker build --build-arg ENV_NAME=${params.ENVIRONMENT} -t 10.50.10.93:5000/livecarta_base:dev ." - sh 'docker push 10.50.10.93:5000/livecarta_base:dev' + sh "docker build --build-arg ENV_NAME=${params.ENVIRONMENT} -t 10.50.10.93:5000/livecarta_wp:dev ." + sh 'docker push 10.50.10.93:5000/livecarta_wp:dev' } } stage('Build Base PROD Docker Image') { @@ -33,8 +33,8 @@ pipeline { branch 'master' } steps { - sh "docker build --build-arg ENV_NAME=${params.ENVIRONMENT} -t 10.50.10.93:5000/livecarta_base:prod ." - sh 'docker push 10.50.10.93:5000/livecarta_base:prod' + sh "docker build --build-arg ENV_NAME=${params.ENVIRONMENT} -t 10.50.10.93:5000/livecarta_wp:prod ." + sh 'docker push 10.50.10.93:5000/livecarta_wp:prod' } } stage('Build Base WL Docker Image') { @@ -42,8 +42,8 @@ pipeline { branch 'wl' } steps { - sh "docker build --build-arg ENV_NAME=${params.ENVIRONMENT} -t 10.50.10.93:5000/livecarta_base:wl ." - sh 'docker push 10.50.10.93:5000/livecarta_base:wl' + sh "docker build --build-arg ENV_NAME=${params.ENVIRONMENT} -t 10.50.10.93:5000/livecarta_wp:wl ." + sh 'docker push 10.50.10.93:5000/livecarta_wp:wl' } } }