Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tripura-kant authored Oct 7, 2022
1 parent 94ab458 commit f1ecd52
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 @@ -23,7 +23,7 @@ pipeline {

stage('Docker push ') {
steps {

sh 'sudo usermod -a -G docker jenkins'
sh "docker build -t docker-registry:5000/java-app:latest ."
sh 'docker push docker-registry:5000/java-app:latest'

Expand Down

0 comments on commit f1ecd52

Please sign in to comment.