feat: refs #6695 try
This commit is contained in:
parent
251f06962b
commit
3b5c944336
|
@ -100,12 +100,12 @@ pipeline {
|
|||
steps {
|
||||
script {
|
||||
def packageJson = readJSON file: 'package.json'
|
||||
env.VERSION = BRANCH_NAME
|
||||
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}a"
|
||||
}
|
||||
sh 'docker-compose build back'
|
||||
sh 'docker images'
|
||||
sh 'docker login --username $CREDENTIALS_USR --password $CREDENTIALS_PSW $REGISTRY'
|
||||
sh 'docker push registry.verdnatura.es/back:$BRANCH_NAME'
|
||||
sh 'docker push $IMAGE:$BRANCH_NAME'
|
||||
}
|
||||
}
|
||||
stage('Stack') {
|
||||
|
|
Loading…
Reference in New Issue