Unverified Commit 28dd4b81 authored by prawinkorvi's avatar prawinkorvi Committed by GitHub

Update Jenkinsfile

parent d45a6f04
...@@ -22,7 +22,7 @@ pipeline { ...@@ -22,7 +22,7 @@ pipeline {
stage('Build docker image') { stage('Build docker image') {
steps { steps {
script { script {
def customImage = docker.build('prawinkorvi/petclinic' './docker') def customImage = docker.build('prawinkorvi/petclinic' ./docker)
docker.withRegistry('https://registry.hub.docker.com', 'dockerhub') { docker.withRegistry('https://registry.hub.docker.com', 'dockerhub') {
customImage.push("${env.BUILD_NUMBER}") customImage.push("${env.BUILD_NUMBER}")
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment