Skip to content

Commit 915faa6

Browse files
committed
fix: 修复目录未创建
1 parent c80c9b1 commit 915faa6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/backend-ci-cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
- name: Prepare assets for all architectures
109109
run: |
110110
# 创建架构特定的目录
111-
mkdir -p assets-x86_64/sgp
111+
mkdir -p assets-amd64/sgp
112112
mkdir -p assets-arm64/sgp
113113
mkdir -p assets/vsix
114114
@@ -118,9 +118,9 @@ jobs:
118118
wget -O assets/vsix/monkeycode-${VERSION_NO_V}.vsix https://release.baizhi.cloud/monkeycode/vsixs/monkeycode-${VERSION_NO_V}.vsix
119119
120120
# 下载 x86_64 SGP
121-
wget -O assets-x86_64/sgp/sgp https://baizhiyun.oss-cn-hangzhou.aliyuncs.com/prod/sgp/x86_64/sgp
122-
wget -O assets-x86_64/sgp/sgp-rules https://baizhiyun.oss-cn-hangzhou.aliyuncs.com/prod/sgp/x86_64/sgp-rules
123-
chmod +x assets-x86_64/sgp/sgp
121+
wget -O assets-amd64/sgp/sgp https://baizhiyun.oss-cn-hangzhou.aliyuncs.com/prod/sgp/x86_64/sgp
122+
wget -O assets-amd64/sgp/sgp-rules https://baizhiyun.oss-cn-hangzhou.aliyuncs.com/prod/sgp/x86_64/sgp-rules
123+
chmod +x assets-amd64/sgp/sgp
124124
125125
# 下载 aarch64 SGP
126126
wget -O assets-arm64/sgp/sgp https://baizhiyun.oss-cn-hangzhou.aliyuncs.com/prod/sgp/aarch64/sgp

backend/build/Dockerfile.scanner

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ FROM debian:bullseye-20250721-slim as binary
2626
WORKDIR /app
2727

2828
ARG TARGETARCH
29-
COPY assets-${TARGETARCH}/sgp assets/sgp
29+
COPY assets-${TARGETARCH}/sgp ./assets/sgp
3030

3131
COPY --from=builder /out/main /app/main
3232

0 commit comments

Comments
 (0)