mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 05:55:51 +00:00
Pull updated image when deploying
This commit is contained in:
parent
2b879e9179
commit
824cedb61b
2 changed files with 2 additions and 1 deletions
|
@ -49,6 +49,7 @@ remote_exec() {
|
|||
deploy() {
|
||||
echo "Deploying ${IMAGE}:${TAG} to ${FQDN}"
|
||||
remote_exec "docker rm -f petclinic || true"
|
||||
remote_exec "docker pull ${IMAGE}:${TAG}"
|
||||
remote_exec "docker run -d -p 80:8080 --name petclinic ${IMAGE}:${TAG}"
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ input[type="text"] {
|
|||
}
|
||||
|
||||
.navbar .nav > li > a {
|
||||
color: #FF0000
|
||||
color: #000000
|
||||
}
|
||||
|
||||
.form-horizontal .control-label {
|
||||
|
|
Loading…
Reference in a new issue