Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
prawinkorvi authored Dec 14, 2019
1 parent 902bf08 commit 83bef2d
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 @@ -22,7 +22,7 @@ pipeline {
stage('Build docker image') {
steps {
script {
def customImage = docker.build('prawinkorvi/petclinic' "./docker")
def customImage = docker.build('prawinkorvi/petclinic' "--build-arg ./docker")
docker.withRegistry('https://registry.hub.docker.com', 'dockerhub') {
customImage.push("${env.BUILD_NUMBER}")
}
Expand Down

0 comments on commit 83bef2d

Please sign in to comment.