From 90e0e2d594fa60343993d19a8d405392805a0fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=94=E5=BF=B5?= <12574910+72wo@users.noreply.github.com> Date: Thu, 19 Mar 2026 15:17:14 +0800 Subject: [PATCH] =?UTF-8?q?```=20feat(.woodpecker):=20=E4=BC=98=E5=8C=96De?= =?UTF-8?q?bian=E9=95=9C=E5=83=8F=E6=BA=90=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将Debian bookworm镜像源配置改为多行格式,添加了updates和security仓库, 提高配置的可读性和维护性,确保系统能够获取最新的安全更新。 ``` --- .woodpecker/my-first-workflow.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/my-first-workflow.yaml b/.woodpecker/my-first-workflow.yaml index 080f3e5a9..57794ecb0 100644 --- a/.woodpecker/my-first-workflow.yaml +++ b/.woodpecker/my-first-workflow.yaml @@ -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