From 0e4e3308c17ff5131d4645cc9cf2181c2a8fe8b0 Mon Sep 17 00:00:00 2001 From: Jakub Dorfman Date: Wed, 29 Apr 2026 19:36:02 +0200 Subject: [PATCH] fix: add --build flag to run_compose for deployment and restart commands Co-authored-by: Copilot --- panel/panelctl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panel/panelctl.sh b/panel/panelctl.sh index b36ab07..66fcd40 100644 --- a/panel/panelctl.sh +++ b/panel/panelctl.sh @@ -345,7 +345,7 @@ cmd_deploy() { cmd_render_route "${name}" - if ! run_compose -f "${APP_COMPOSE_FILE}" up -d --remove-orphans 2>&1 | systemd-cat -t panelctl -p info 2>/dev/null; then + if ! run_compose -f "${APP_COMPOSE_FILE}" up -d --build --remove-orphans 2>&1 | systemd-cat -t panelctl -p info 2>/dev/null; then log err "Deployment failed for app '${name}'" fail "compose up failed" fi @@ -362,7 +362,7 @@ cmd_restart() { run_compose -f "${APP_COMPOSE_FILE}" down --remove-orphans || fail "compose down failed" - if ! run_compose -f "${APP_COMPOSE_FILE}" up -d --remove-orphans 2>&1; then + if ! run_compose -f "${APP_COMPOSE_FILE}" up -d --build --remove-orphans 2>&1; then fail "compose up failed during restart" fi