mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:15:50 +00:00
sdasd
This commit is contained in:
parent
e90475a95f
commit
a8c071688c
1 changed files with 6 additions and 2 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -30,8 +30,12 @@ pipeline {
|
|||
}
|
||||
stage('Login to dockerhub') {
|
||||
steps {
|
||||
sh 'echo $DOCKERHUB_CREDENTIALS_PSW | docker login -u $DOCKERHUB_CREDENTIALS_USR --password-stdin'
|
||||
}
|
||||
docker.withRegistry('https://index.docker.io/v1/', 'piachsecki-dockerhub') {
|
||||
echo 'Logged into DockerHub'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
stage('Push') {
|
||||
steps {
|
||||
|
|
Loading…
Reference in a new issue