feat(更新镜像): 切换到go-legacy-win7,构建的二进制可兼容win7
/ build (DockerfileHK, hkccr.ccs.tencentyun.com/xiaoqidun/goenv:latest, hkccr.ccs.tencentyun.com) (push) Successful in 21m47s
/ build (DockerfileCN, ccr.ccs.tencentyun.com/xiaoqidun/goenv:latest, ccr.ccs.tencentyun.com) (push) Successful in 21m57s

This commit is contained in:
2026-03-05 17:05:38 +08:00
parent 908fde2d54
commit 6996001e23
3 changed files with 14 additions and 6 deletions
+2
View File
@@ -17,7 +17,9 @@ jobs:
- name: download ndk
run: |
apt-get update && apt-get install -y wget unzip && rm -rf /var/lib/apt/lists/*
wget -q -T 180 -4 https://github.com/thongtech/go-legacy-win7/releases/download/v1.26.0-2/go-legacy-win7-1.26.0-2.linux_amd64.tar.gz
wget -q -T 180 -4 https://dl.google.com/android/repository/android-ndk-r29-linux.zip
tar -zxf go-legacy-win7-1.26.0-2.linux_amd64.tar.gz && rm -f go-legacy-win7-1.26.0-2.linux_amd64.tar.gz
unzip -q android-ndk-r29-linux.zip && rm -f android-ndk-r29-linux.zip
- name: docker setup
uses: docker/setup-buildx-action@v3