diff --git a/Jenkinsfile b/Jenkinsfile index c9fd186..e9e3bd2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -47,7 +47,7 @@ pipeline { script { withCredentials([usernamePassword(credentialsId: 'build', usernameVariable: 'USER', passwordVariable: 'PASS')]) { sh ''' - echo "$PASS" | docker login --username "$USER" --password-stdin $REGISTRY + echo "$PASS" | docker login --username "$USER" --password-stdin <%%FACTORY_REGISTRY_REPO%%> ''' def appImage = "<%%FACTORY_REGISTRY_IMAGE%%>:${env.VERSION}" sh "cd build/docker && docker build -t ${appImage} ."