test
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2024-07-19 13:55:13 +02:00
parent 9b7f7cf00c
commit 6a2292183e
1 changed files with 3 additions and 0 deletions

3
Jenkinsfile vendored
View File

@ -90,6 +90,9 @@ pipeline {
} }
} }
stage('Push image') { stage('Push image') {
environment {
CREDENTIALS = credentials('docker-registry')
}
steps { steps {
// sh 'docker-compose build --build-arg BUILD_ID=$BUILD_ID --parallel' // sh 'docker-compose build --build-arg BUILD_ID=$BUILD_ID --parallel'
sh 'docker login --username $CREDENTIALS_USR --password $CREDENTIALS_PSW $REGISTRY' sh 'docker login --username $CREDENTIALS_USR --password $CREDENTIALS_PSW $REGISTRY'