feat(.woodpecker): 优化Debian镜像源配置 将Debian bookworm镜像源配置改为多行格式,添加了updates和security仓库, 提高配置的可读性和维护性,确保系统能够获取最新的安全更新。 ```
This commit is contained in:
@@ -77,8 +77,8 @@ steps:
|
||||
GO111MODULE: on
|
||||
GOSUMDB: off
|
||||
commands:
|
||||
# 2. 清空原有内容,写入阿里云Debian bookworm镜像源(直接覆盖,无需手动编辑)
|
||||
- echo "deb http://mirrors.aliyun.com/debian/ bookworm main contrib non-free non-free-firmware
|
||||
- >
|
||||
echo "deb http://mirrors.aliyun.com/debian/ bookworm main contrib non-free non-free-firmware
|
||||
deb http://mirrors.aliyun.com/debian/ bookworm-updates main contrib non-free non-free-firmware
|
||||
deb http://mirrors.aliyun.com/debian-security/ bookworm-security main contrib non-free non-free-firmware" > /etc/apt/sources.list
|
||||
|
||||
|
||||
Reference in New Issue
Block a user