mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 22:35:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
8635ca82c1
commit
b56d2be21d
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -25,7 +25,7 @@ pipeline {
|
||||||
withCredentials([usernamePassword(credentialsId: 'DOCKER_HUB_GLOBAL', passwordVariable: 'dockerHubPassword',
|
withCredentials([usernamePassword(credentialsId: 'DOCKER_HUB_GLOBAL', passwordVariable: 'dockerHubPassword',
|
||||||
usernameVariable: 'dockerHubUser')]) {
|
usernameVariable: 'dockerHubUser')]) {
|
||||||
sh "docker login -u ${env.dockerHubUser} -p ${env.dockerHubPassword}"
|
sh "docker login -u ${env.dockerHubUser} -p ${env.dockerHubPassword}"
|
||||||
sh 'docker tag spring-petclinic:latest mrcool435/spring-petclinic:latest'
|
sh 'docker tag spring-petclinic1 mrcool435/mrcool435/spring-petclinic'
|
||||||
sh 'docker push mrcool435/spring-petclinic:latest'
|
sh 'docker push mrcool435/spring-petclinic:latest'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue