This commit is contained in:
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@@ -22,9 +22,12 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
docker.withRegistry("${env.ENV_REGISTRY_URL}", 'registry-credentials-id') {
|
node {
|
||||||
def customImage = docker.build("${env.ENV_REGISTRY_URL}/jenkins/website:${env.BUILD_ID}")
|
checkout scm
|
||||||
customImage.push()
|
docker.withRegistry("${env.ENV_REGISTRY_URL}", 'registry-credentials-id') {
|
||||||
|
def customImage = docker.build("${env.ENV_REGISTRY_URL}/jenkins/website:${env.BUILD_ID}")
|
||||||
|
customImage.push()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user