fix(deploy-mining): rebuild默认不使用--no-cache,需显式指定
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
c1de1daea8
commit
576aad8691
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue