mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 20:25:50 +00:00
fix typo
This commit is contained in:
parent
2ba789c2a1
commit
059954ae34
1 changed files with 3 additions and 2 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -33,11 +33,12 @@ pipeline {
|
|||
stage('Build Image') {
|
||||
agent {
|
||||
image 'docker:20.10.16'
|
||||
args '--privileged -v /var/run/docker.sock:/var/run/docker.sock'
|
||||
}
|
||||
steps {
|
||||
sh 'docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS" mr:8084'
|
||||
sh 'docker build -t mr:8084/spring-petclinic:$GITCOMMIT .'
|
||||
sh 'docker push mr:8084/spring-petclinic:$GITCOMMIT'
|
||||
sh 'docker build -t mr:8084/spring-petclinic:${GIT_COMMIT} .'
|
||||
sh 'docker push mr:8084/spring-petclinic:${GIT_COMMIT}'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue