forked from LiveCarta/LiveCartaWP
Fixed image naming
This commit is contained in:
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user