mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 05:55:51 +00:00
fixed typo here too
This commit is contained in:
parent
271de8f395
commit
9b262d3511
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -28,10 +28,10 @@ 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,
|
||||
credentialsId: DOCKERHUB_CREDS,
|
||||
usernameVariable: 'DOCKER_USER',
|
||||
passwordVariable: 'DOCKER_PASS'
|
||||
)]) {
|
||||
|
|
Loading…
Reference in a new issue