new sslproxy xai cli commands for build, deploy, rollback
This commit is contained in:
13
dockerfiles/services/sslproxy/Jenkinsfile
vendored
13
dockerfiles/services/sslproxy/Jenkinsfile
vendored
@@ -28,12 +28,13 @@ pipeline {
|
||||
stage('build') {
|
||||
steps {
|
||||
dir(WORKDIR) {
|
||||
script {
|
||||
docker.withRegistry('http://dkregistry.xai-corp.net:5000', 'b11d7f1a-81ac-4daf-8842-56afc0d2370e') {
|
||||
def customImage = docker.build("dkregistry.xai-corp.net:5000/sslproxy:2.1", "-f ${DOCKERFILE} .")
|
||||
customImage.push()
|
||||
}
|
||||
}
|
||||
sh "xai build"
|
||||
// script {
|
||||
// docker.withRegistry('http://dkregistry.xai-corp.net:5000', 'b11d7f1a-81ac-4daf-8842-56afc0d2370e') {
|
||||
// def customImage = docker.build("dkregistry.xai-corp.net:5000/sslproxy:2.1", "-f ${DOCKERFILE} .")
|
||||
// customImage.push()
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user