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