diff --git a/Jenkinsfile b/Jenkinsfile index 5aa91e725..f52fe4430 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -90,6 +90,9 @@ pipeline { } } stage('Push image') { + environment { + CREDENTIALS = credentials('docker-registry') + } steps { // sh 'docker-compose build --build-arg BUILD_ID=$BUILD_ID --parallel' sh 'docker login --username $CREDENTIALS_USR --password $CREDENTIALS_PSW $REGISTRY'