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

This commit is contained in:
Alex Moreno 2024-07-19 14:27:06 +02:00
parent 8471b0804d
commit 6f0f7738c4
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -97,11 +97,11 @@ pipeline {
steps { steps {
script { script {
def packageJson = readJSON file: 'package.json' def packageJson = readJSON file: 'package.json'
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}" env.VERSION = BRANCH_NAME
} }
sh 'docker-compose build back' sh 'docker-compose build back'
sh 'docker login --username $CREDENTIALS_USR --password $CREDENTIALS_PSW $REGISTRY' sh 'docker login --username $CREDENTIALS_USR --password $CREDENTIALS_PSW $REGISTRY'
sh 'docker push $IMAGE:$BRANCH_NAME' sh 'docker push back:$BRANCH_NAME'
} }
} }
} }