feat: 更新默认源仓库为 aliyun
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-01-13 10:54:45 +08:00
parent e2955a08a2
commit 734e070529
2 changed files with 14 additions and 3 deletions
+13 -2
View File
@@ -7,10 +7,21 @@
# 6. 使用 Git Submodule 管理通用脚本时,需手动更新 Submodule
when:
# 匹配 main
- event: push
branch: "main|master|[0-9]*|v[0-9]*"
branch: main
# 匹配 master
- event: push
branch: master
# 匹配数字开头的分支,如 1.0, 2, 3.2.1
- event: push
branch: "[0-9]*"
# 匹配 v 开头的版本分支,如 v1, v2.0
- event: push
branch: "v[0-9]*"
# 匹配 tag 事件
- event: tag
ref: "refs/tags/([0-9]+|v[0-9].*)"
ref: "refs/tags/(v?[0-9].*)"
labels:
runtime: docker
+1 -1
View File
@@ -18,7 +18,7 @@
ARG APP_NAME=debian
ARG APP_VER=12
ARG REGISTRY_URL="docker.io/"
ARG APT_SOURCE=default
ARG APT_SOURCE=aliyun
# 1. 生成镜像 =====================================================================
FROM --platform=${TARGETPLATFORM:-linux/amd64} ${REGISTRY_URL}debian:${APP_VER}-slim