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
ec36711cae
commit
bcd9f66a41
1 changed files with 4 additions and 4 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -22,8 +22,8 @@ pipeline {
|
|||
// }
|
||||
// }
|
||||
stage('docker') {
|
||||
script {
|
||||
steps {
|
||||
script {
|
||||
app = docker.build("rolandgryddynamics/mr")
|
||||
// sh 'docker build -t my/app .'
|
||||
sh 'ls -a'
|
||||
|
@ -34,8 +34,8 @@ pipeline {
|
|||
}
|
||||
}
|
||||
stage('deploy to dockerhub') {
|
||||
script {
|
||||
steps {
|
||||
script {
|
||||
docker.withRegistry("https://registry.hub.docker.com", "webserver_login")
|
||||
app.push("latest")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue