Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
AGPWR authored May 10, 2024
1 parent 16e173e commit 3fc7b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pipeline {
stage('Pushing image') {
steps {
withCredentials([usernamePassword(credentialsId: 'docker-hub-credentials', usernameVariable: 'DOCKER_USER', passwordVariable: 'DOCKER_PASSWORD')]) {
sh "docker login -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD"
sh "docker login -u $DOCKER_USER -p $DOCKER_PASSWORD"
sh 'docker tag front-image:latest genzoo/front-image:latest'
sh 'docker push genzoo/front-image:latest'
}
Expand Down

0 comments on commit 3fc7b98

Please sign in to comment.