mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 05:25:50 +00:00
Update Jenkinsfile
Signed-off-by: prankumargrid <prankumar@griddynamics.com>
This commit is contained in:
parent
e0b343eb1b
commit
b1861babf7
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -43,7 +43,7 @@ pipeline{
|
||||||
steps{
|
steps{
|
||||||
script{
|
script{
|
||||||
def ImageTag = env.BRANCH_NAME == 'main' ? 'latest' : GIT_COMMIT_SHORT
|
def ImageTag = env.BRANCH_NAME == 'main' ? 'latest' : GIT_COMMIT_SHORT
|
||||||
sh "docker build -t $REGISTRY_URL/$IMAGE_NAME:$imageTag ."
|
sh "docker build -t www.github.com/prankumargrid/$IMAGE_NAME:$imageTag ."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue