From 048dc73aee5856e5482a208da9dc351cb8833dd6 Mon Sep 17 00:00:00 2001 From: gxl Date: Fri, 12 Jun 2026 13:45:11 +0800 Subject: [PATCH] =?UTF-8?q?chore(ci):=20=E6=9B=B4=E6=96=B0=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E9=85=8D=E7=BD=AE=E5=92=8C=E6=96=87=E6=A1=A3=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E5=BE=BD=E7=AB=A0=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将构建配置文件中的密钥引用从小写改为大写格式 - 注释掉 pom.xml 中的依赖安全检查插件配置 - 修复 README.md 中的安全扫描徽章链接格式问题 - 更新构建状态徽章以包含正确的分支参数 - 添加仓库链接到构建状态徽章 --- .woodpecker/build.yaml | 4 ++-- README.md | 7 ++++--- pom.xml | 21 +++++++++++++++++++++ 3 files changed, 27 insertions(+), 5 deletions(-) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index fc571a0..88dc7bd 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -34,9 +34,9 @@ steps: repo: *FULL_PUSH_REPO registry: *APP_REGISTRY username: - from_secret: nexus_docker_username + from_secret: NEXUS_DOCKER_USERNAME password: - from_secret: nexus_docker_password + from_secret: NEXUS_DOCKER_PASSWORD mirror: *REPO_MIRROR when: event: push diff --git a/README.md b/README.md index 8237ed4..6293377 100644 --- a/README.md +++ b/README.md @@ -214,7 +214,8 @@ A: 将宿主机 `/tmp/maven-cache` 挂载到容器的 `/root/.m2`,确保每次 A: 在 `deploy.yaml` 的 `matrix.include` 中添加新的节点配置,并在 Woodpecker Secrets 中创建对应的 `{name}_ssh_host`、`{name}_ssh_user`、`{name}_ssh_password` 密钥即可。 -[![Build Status](https://woodpecker.lovestory.cyou/api/badges/1/status.svg)] +![Build Status](https://woodpecker.lovestory.cyou/api/badges/1/status.svg) -![Security Scan]( -https://woodpecker.lovestory.cyou/api/badges/1/status.svg?branch=master&event=push) +![Build Status](https://woodpecker.lovestory.cyou/api/badges/1/status.svg?branch=master) + +[![Build Status](https://woodpecker.lovestory.cyou/api/badges/1/status.svg)](https://woodpecker.lovestory.cyou/repos/1) \ No newline at end of file diff --git a/pom.xml b/pom.xml index c6acee0..72b7250 100644 --- a/pom.xml +++ b/pom.xml @@ -101,6 +101,27 @@ + + + + + + + + + + + + + + + + + + + + +