This commit is contained in:
parent
849a3d7fbc
commit
6dd35aa783
|
@ -105,7 +105,7 @@ pipeline {
|
||||||
sh 'docker-compose build back'
|
sh 'docker-compose build back'
|
||||||
sh 'docker images'
|
sh 'docker images'
|
||||||
sh 'docker login --username $CREDENTIALS_USR --password $CREDENTIALS_PSW $REGISTRY'
|
sh 'docker login --username $CREDENTIALS_USR --password $CREDENTIALS_PSW $REGISTRY'
|
||||||
sh 'docker tag back:$VERSION $IMAGE:$BRANCH_NAME'
|
sh 'docker tag $IMAGE:$VERSION $IMAGE:$BRANCH_NAME'
|
||||||
sh 'docker push $IMAGE:$BRANCH_NAME'
|
sh 'docker push $IMAGE:$BRANCH_NAME'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue