From 576aad869166d83228f96251fa9be0093b2dd02c Mon Sep 17 00:00:00 2001 From: hailin Date: Sat, 10 Jan 2026 23:40:08 -0800 Subject: [PATCH] =?UTF-8?q?fix(deploy-mining):=20rebuild=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E4=B8=8D=E4=BD=BF=E7=94=A8--no-cache,=E9=9C=80=E6=98=BE?= =?UTF-8?q?=E5=BC=8F=E6=8C=87=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.5 --- backend/services/deploy-mining.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/backend/services/deploy-mining.sh b/backend/services/deploy-mining.sh index 2b5bb6fb..0fbe631a 100755 --- a/backend/services/deploy-mining.sh +++ b/backend/services/deploy-mining.sh @@ -385,7 +385,8 @@ service_build() { service_rebuild() { local service="$1" - service_build "$service" "--no-cache" + local no_cache="$2" + service_build "$service" "$no_cache" } # =========================================================================== @@ -454,7 +455,8 @@ services_build() { services_rebuild() { local target="$1" - services_build "$target" "--no-cache" + local no_cache="$2" + services_build "$target" "$no_cache" } services_status() { @@ -822,7 +824,7 @@ main() { services_build "$2" "$3" ;; rebuild) - services_rebuild "$2" + services_rebuild "$2" "$3" ;; # Database commands