feat: refs #6695 try
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2024-09-11 14:27:37 +02:00
parent 6dd35aa783
commit df74ffcb50
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -95,7 +95,7 @@ pipeline {
stage('Push image') {
environment {
CREDENTIALS = credentials('docker-registry')
IMAGE = "$REGISTRY/verdnatura/salix-back"
IMAGE = "$REGISTRY/salix-back"
}
steps {
script {
@ -103,7 +103,7 @@ pipeline {
env.VERSION = "e2e-try"
}
sh 'docker-compose build back'
sh 'docker images'
// sh 'docker images'
sh 'docker login --username $CREDENTIALS_USR --password $CREDENTIALS_PSW $REGISTRY'
sh 'docker tag $IMAGE:$VERSION $IMAGE:$BRANCH_NAME'
sh 'docker push $IMAGE:$BRANCH_NAME'