Fix Jenkinsfile

This commit is contained in:
Thanakarn Klangkasame
2025-09-30 13:49:45 +07:00
parent 295b14e84d
commit b9eef5c3d3

2
Jenkinsfile vendored
View File

@@ -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