dockerBuild fixes: login before build

This commit is contained in:
Juan Ferrer 2022-06-20 21:46:45 +02:00
parent fe429b1a61
commit 484fa2004f
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env groovy
def call() {
sh 'docker-compose build --parallel'
sh 'docker login --username $CREDENTIALS_USR --password $CREDENTIALS_PSW $REGISTRY'
sh 'docker-compose build --parallel'
sh 'docker-compose push'
}