feat: refs #6695 try
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2024-09-11 14:13:07 +02:00
parent dfdf9aa2ca
commit f847e6a95a
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

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