refs #4550 Deployment: fix, cups credentials provided in deployment
gitea/printnatura/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2022-11-16 13:53:16 +01:00
parent fc25c73fe6
commit c8d2e0ad66
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -21,7 +21,6 @@ pipeline {
}
environment {
CREDS = credentials('docker-registry')
CUPS = credentials('printnatura')
}
steps {
sh 'docker login --username $CREDS_USR --password $CREDS_PSW $REGISTRY'
@ -38,6 +37,7 @@ pipeline {
}
environment {
DOCKER_HOST = "${env.SWARM_HOST}"
CUPS = credentials('printnatura')
}
steps {
sh "docker stack deploy --with-registry-auth --compose-file docker-compose.yml ${env.STACK_NAME}"