mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
JenkinsFile docker configuration
This commit is contained in:
parent
67f536adcb
commit
84273d1d57
1 changed files with 5 additions and 1 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -46,7 +46,11 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
// sh 'docker tag push rolandgryddynamics/mr:latest'
|
// sh 'docker tag push rolandgryddynamics/mr:latest'
|
||||||
script {
|
script {
|
||||||
dockerImage = docker.withRegistry('https://registry.hub.docker.com', $DOCKERHUB_CREDENTIALS )
|
echo $DOCKERHUB_CREDENTIALS_USR
|
||||||
|
echo DOCKERHUB_CREDENTIALS_PSW
|
||||||
|
echo $DOCKERHUB_CREDENTIALS
|
||||||
|
echo rolandgryddynamics-dockerhub
|
||||||
|
dockerImage = docker.withRegistry('https://registry.hub.docker.com', 'rolandgryddynamics-dockerhub' )
|
||||||
dockerImage.push()
|
dockerImage.push()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue