fix: pull images before starting
This commit is contained in:
parent
cea3605e06
commit
c277979b2f
1 changed files with 5 additions and 0 deletions
|
@ -161,6 +161,11 @@ function start_app() {
|
|||
|
||||
ensure_permissions "${app}"
|
||||
|
||||
# Pull images
|
||||
if ! compose "${app}" pull; then
|
||||
write_log "Failed to pull app ${app}"
|
||||
fi
|
||||
|
||||
if ! compose "${app}" up --detach; then
|
||||
write_log "Failed to start app ${app}"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Reference in a new issue