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