Skip to content

Commit 677c994

Browse files
committed
chore(tasks): Run docker compose pull when running edge or latest
1 parent 99b7623 commit 677c994

File tree

1 file changed

+3
-0
lines changed
  • local-run/scripts

1 file changed

+3
-0
lines changed

local-run/scripts/run

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ info "- Server: $(format_code "${PROSE_POD_SERVER_IMAGE:?}")"
159159
[ -f "${MAILPIT_DATABASE_PATH:?}" ] || echo '' > "${MAILPIT_DATABASE_PATH:?}"
160160

161161
source "${SELF_SCRIPTS:?}"/compose-exports.sh
162+
if [[ "${PROSE_POD_API_IMAGE_TAG:?}" =~ ^(edge|latest)$ ]]; then
163+
edo docker compose -f "${COMPOSE_FILE:?}" pull
164+
fi
162165
edo docker compose -f "${COMPOSE_FILE:?}" up --force-recreate --remove-orphans ${DETACH+--detach}
163166

164167
if (( $EPHEMERAL )) && ! (( $DETACH )); then

0 commit comments

Comments
 (0)