diff --git a/.github/workflows/backend-ci-cd.yml b/.github/workflows/backend-ci-cd.yml index 8f859479..9415916c 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 4679be1c..e36c37e1 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