feat: stop building docker image of linux/arm64 (#2390)

This commit is contained in:
QingKai Hao
2023-10-10 21:17:58 +08:00
committed by Yang Luo
parent 98411ef67b
commit 9aec69ef47
4 changed files with 6 additions and 15 deletions

View File

@ -8,5 +8,4 @@ else
echo "Google is blocked, Go proxy is enabled: GOPROXY=https://goproxy.cn,direct"
export GOPROXY="https://goproxy.cn,direct"
fi
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o server_linux_amd64 .
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags="-w -s" -o server_linux_arm64 .
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o server .