mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 15:55:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
60b3efe73e
commit
0a4d0fa2ca
1 changed files with 1 additions and 3 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -36,10 +36,8 @@ pipeline {
|
|||
withRegistry(credentialsID: 'dockerhub_id') {
|
||||
sh """#!/bin/bash -xe
|
||||
|
||||
docker push()
|
||||
docker push("latest")
|
||||
docker push ${env.IMAGE_NAME}
|
||||
echo "Pushed Docker Image: ${env.IMAGE_NAME}"
|
||||
docker rmi ${env.IMAGE_NAME} ${env.IMAGE_NAME_LATEST}
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue