Fix Jenkinsfile
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -95,7 +95,7 @@ pipeline {
|
|||||||
|
|
||||||
stage('Docker Push'){
|
stage('Docker Push'){
|
||||||
steps {
|
steps {
|
||||||
withCredentials([usernamePassword(credentialsId:'registry-basic', usernameVariable:'REG_USER', passwordVariable:'REG_PASS')]){
|
withCredentials([usernamePassword(credentialsId:'reg-creds', usernameVariable:'REG_USER', passwordVariable:'REG_PASS')]){
|
||||||
sh '''
|
sh '''
|
||||||
set -eux
|
set -eux
|
||||||
docker logout ${REGISTRY} || true
|
docker logout ${REGISTRY} || true
|
||||||
|
|||||||
Reference in New Issue
Block a user