This commit is contained in:
parent
6dd35aa783
commit
df74ffcb50
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue