[#50] 完成arm服务器单台机器上部署 server & client,没有使用docker swarm

This commit is contained in:
2025-12-05 11:51:56 +08:00
parent a6e1bf7fe7
commit debe91fc8b
11 changed files with 452 additions and 97 deletions

View File

@@ -855,7 +855,7 @@ if [[ "$build_web" == true || "$build_alert" == true ]]; then
)
for build_spec in "${alert_builds[@]}"; do
IFS='|' read -r image_label dockerfile_path image_tag build_context <<< "$build_spec"
if build_image "$image_label" "$dockerfile_path" "$image_tag" "$build_context"; then
if build_image "$image_label" "$dockerfile_path" "$image_tag" "$build_context" --build-arg ALERTMANAGER_ARCH=arm64; then
images_built+=("$image_tag")
else
build_failed=true