fix(ci): 使用云机可达的 Alpine 镜像源
continuous-integration/drone/push Build is passing Details

This commit is contained in:
dongjf 2026-11-25 09:32:13 +08:00
parent aec7e1fd02
commit 1006e8a71e
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ steps:
ATLAS_LOCAL_PASSWORD: atlas-ci-example ATLAS_LOCAL_PASSWORD: atlas-ci-example
ATLAS_DELIVERY_PASSWORD: atlas-ci-delivery-example ATLAS_DELIVERY_PASSWORD: atlas-ci-delivery-example
commands: commands:
- sed -i 's|dl-cdn.alpinelinux.org/alpine|mirrors.aliyun.com/alpine|' /etc/apk/repositories
- apk add --no-cache openjdk21-jdk maven postgresql-client - apk add --no-cache openjdk21-jdk maven postgresql-client
- mvn -B -ntp -f backend/pom.xml verify - mvn -B -ntp -f backend/pom.xml verify
- sh deploy/local/ci-smoke.sh - sh deploy/local/ci-smoke.sh