changed docker

This commit is contained in:
sridhar 2023-09-15 13:11:56 +05:30
parent ab611051e6
commit 80e2f6b5c4

4
Jenkinsfile vendored
View file

@ -48,8 +48,8 @@ pipeline{
} }
stage('docker login'){ stage('docker login'){
steps{ steps{
withCredentials([string(credentialsId: 'DOCKER_LOG')]) { withCredentials([string(credentialsId: 'DOCKER_LOG', variable: 'USER', variable: 'PASSWORD')]) {
sh 'docker login' sh 'docker login -u $USER -p $PASSWORD'
} }
} }
} }