Update Jenkinsfile

This commit is contained in:
Mihai Georgescu 2023-11-28 11:54:15 +02:00 committed by GitHub
parent 89b112d701
commit 3f22324595
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
Jenkinsfile vendored
View file

@ -56,7 +56,7 @@ pipeline {
stage('Login to Dockerhub') {
steps {
echo "now we will login to dockerhub"
sh 'echo $DOCKERHUB_CREDENTIALS_PSW | docker login -u $DOCKERHUB_CREDENTIALS_USR'
sh 'echo $DOCKERHUB_CREDENTIALS_PSW | docker login -u $DOCKERHUB_CREDENTIALS_USR --password-stdin'
}
}
stage('Push to DockerHub') {