fix: jenkins script
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2024-07-19 13:20:54 +02:00
parent d56c8ee3a9
commit 3224e39af7
1 changed files with 3 additions and 0 deletions

3
Jenkinsfile vendored
View File

@ -91,7 +91,10 @@ pipeline {
}
stage('Push image') {
steps {
sh 'docker-compose build --build-arg BUILD_ID=$BUILD_ID --parallel'
sh 'docker login --username $CREDS_USR --password $CREDS_PSW $REGISTRY'
sh 'docker tag $IMAGE:$TAG $IMAGE:$BRANCH_NAME'
sh 'docker push $IMAGE:$BRANCH_NAME'
}
}
}