This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -15,8 +15,9 @@ node {
|
||||
echo "finish Testing"
|
||||
}
|
||||
stage('Deploy') {
|
||||
docker.withRegistry("${env.ENV_REGISTRY_URL}", 'registry-credentials-id') {
|
||||
def customImage = docker.build("${env.ENV_REGISTRY_URL}/jenkins/website:${env.BUILD_ID}")
|
||||
echo "${env.ENV_REGISTRY_URL}"
|
||||
docker.withRegistry("https://registry.proxyq.co", 'registry-credentials-id') {
|
||||
def customImage = docker.build("registry.proxyq.co/jenkins/website:${env.BUILD_ID}")
|
||||
customImage.push()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user