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
1972e253f3
commit
cce3e176f5
1 changed files with 2 additions and 0 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -21,6 +21,7 @@ pipeline {
|
|||
// sh './gradlew build -x test'
|
||||
// }
|
||||
// }
|
||||
|
||||
stage('docker') {
|
||||
steps {
|
||||
script {
|
||||
|
@ -37,6 +38,7 @@ pipeline {
|
|||
steps {
|
||||
script {
|
||||
docker.withRegistry("https://registry.hub.docker.com", "webserver_login")
|
||||
app.push("${env.BUILD_NUMBER}")
|
||||
app.push("latest")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue