mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-26 01:15:50 +00:00
adding dockerhub push
This commit is contained in:
parent
6e4d8661ee
commit
c704931afe
1 changed files with 1 additions and 0 deletions
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
|
@ -43,6 +43,7 @@ pipeline {
|
||||||
withCredentials([string(credentialsId: 'dhub', variable: 'TOKEN')]) {
|
withCredentials([string(credentialsId: 'dhub', variable: 'TOKEN')]) {
|
||||||
sh '''
|
sh '''
|
||||||
echo $TOKEN | docker login -u gavetisyangd --password-stdin
|
echo $TOKEN | docker login -u gavetisyangd --password-stdin
|
||||||
|
docker push gavetisyangd/main
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue