mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 06:15:50 +00:00
fixed typo in repo variable
This commit is contained in:
parent
59743758cd
commit
0735d09dfb
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -28,7 +28,7 @@ pipeline {
|
|||
script {
|
||||
def branch = env.BRANCH_NAME
|
||||
def dockerRepo = (branch == 'main') ? 'main' : 'mr'
|
||||
def imageTag = "${DOCKER_HUB_USER}/${repo}:${GIT_COMMIT_SHORT}"
|
||||
def imageTag = "${DOCKER_HUB_USER}/${dockerRepo}:${GIT_COMMIT_SHORT}"
|
||||
|
||||
withCredentials([usernamePassword(
|
||||
credentialsId: DOCKERHUB_CREDES,
|
||||
|
|
Loading…
Reference in a new issue