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 2 deletions
Showing only changes of commit 24a9943b0c - Show all commits

3
Jenkinsfile vendored
View File

@ -95,12 +95,11 @@ pipeline {
stage('Push image') {
environment {
CREDENTIALS = credentials('docker-registry')
IMAGE = "$REGISTRY/verdnatura/salix-back"
}
steps {
script {
def packageJson = readJSON file: 'package.json'
env.VERSION = "${packageJson.version}-try"
env.VERSION = "e2e-try"
}
sh 'docker-compose build back'
sh 'docker images'