chore: Remove architecture-related settings and use the latest image tag uniformly

This commit is contained in:
begoniezhao
2025-08-22 14:38:58 +08:00
parent a5cdda3c4c
commit fb1cd98392
5 changed files with 19 additions and 29 deletions
-3
View File
@@ -299,14 +299,11 @@ check_platform() {
log_info "检测系统平台信息..."
if [ "$(uname -m)" = "x86_64" ]; then
export PLATFORM="linux/amd64"
export ARCH="amd64"
elif [ "$(uname -m)" = "aarch64" ] || [ "$(uname -m)" = "arm64" ]; then
export PLATFORM="linux/arm64"
export ARCH="arm64"
else
log_warning "未识别的平台类型:$(uname -m),将使用默认平台 linux/amd64"
export PLATFORM="linux/amd64"
export ARCH="amd64"
fi
log_info "当前平台:$PLATFORM"
}