From 915faa6ec24cc90a25d986734dd4467e44787b65 Mon Sep 17 00:00:00 2001 From: yokowu <18836617@qq.com> Date: Sun, 10 Aug 2025 15:15:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E6=9C=AA=E5=88=9B=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/backend-ci-cd.yml | 8 ++++---- backend/build/Dockerfile.scanner | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/backend-ci-cd.yml b/.github/workflows/backend-ci-cd.yml index 8f85947..9415916 100644 --- a/.github/workflows/backend-ci-cd.yml +++ b/.github/workflows/backend-ci-cd.yml @@ -108,7 +108,7 @@ jobs: - name: Prepare assets for all architectures run: | # 创建架构特定的目录 - mkdir -p assets-x86_64/sgp + mkdir -p assets-amd64/sgp mkdir -p assets-arm64/sgp mkdir -p assets/vsix @@ -118,9 +118,9 @@ jobs: wget -O assets/vsix/monkeycode-${VERSION_NO_V}.vsix https://release.baizhi.cloud/monkeycode/vsixs/monkeycode-${VERSION_NO_V}.vsix # 下载 x86_64 SGP - wget -O assets-x86_64/sgp/sgp https://baizhiyun.oss-cn-hangzhou.aliyuncs.com/prod/sgp/x86_64/sgp - wget -O assets-x86_64/sgp/sgp-rules https://baizhiyun.oss-cn-hangzhou.aliyuncs.com/prod/sgp/x86_64/sgp-rules - chmod +x assets-x86_64/sgp/sgp + wget -O assets-amd64/sgp/sgp https://baizhiyun.oss-cn-hangzhou.aliyuncs.com/prod/sgp/x86_64/sgp + wget -O assets-amd64/sgp/sgp-rules https://baizhiyun.oss-cn-hangzhou.aliyuncs.com/prod/sgp/x86_64/sgp-rules + chmod +x assets-amd64/sgp/sgp # 下载 aarch64 SGP wget -O assets-arm64/sgp/sgp https://baizhiyun.oss-cn-hangzhou.aliyuncs.com/prod/sgp/aarch64/sgp diff --git a/backend/build/Dockerfile.scanner b/backend/build/Dockerfile.scanner index 4679be1..e36c37e 100644 --- a/backend/build/Dockerfile.scanner +++ b/backend/build/Dockerfile.scanner @@ -26,7 +26,7 @@ FROM debian:bullseye-20250721-slim as binary WORKDIR /app ARG TARGETARCH -COPY assets-${TARGETARCH}/sgp assets/sgp +COPY assets-${TARGETARCH}/sgp ./assets/sgp COPY --from=builder /out/main /app/main