WIP: feat: jenkins push docker imagen by branch #2763

Draft
alexm wants to merge 53 commits from 6695-docker_push into dev
1 changed files with 1 additions and 0 deletions
Showing only changes of commit e1aa251c55 - Show all commits

1
Jenkinsfile vendored
View File

@ -94,6 +94,7 @@ pipeline {
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'
sh 'docker push $IMAGE:$BRANCH_NAME'
}