This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -22,10 +22,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
node {
|
||||
checkout scm
|
||||
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