chore(ci): 更新构建配置和文档中的徽章链接

- 将构建配置文件中的密钥引用从小写改为大写格式
- 注释掉 pom.xml 中的依赖安全检查插件配置
- 修复 README.md 中的安全扫描徽章链接格式问题
- 更新构建状态徽章以包含正确的分支参数
- 添加仓库链接到构建状态徽章
This commit is contained in:
gxl 2026-06-12 13:45:11 +08:00
parent cbc4e077c6
commit 048dc73aee
3 changed files with 27 additions and 5 deletions

View File

@ -34,9 +34,9 @@ steps:
repo: *FULL_PUSH_REPO repo: *FULL_PUSH_REPO
registry: *APP_REGISTRY registry: *APP_REGISTRY
username: username:
from_secret: nexus_docker_username from_secret: NEXUS_DOCKER_USERNAME
password: password:
from_secret: nexus_docker_password from_secret: NEXUS_DOCKER_PASSWORD
mirror: *REPO_MIRROR mirror: *REPO_MIRROR
when: when:
event: push event: push

View File

@ -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` 密钥即可。 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]( ![Build Status](https://woodpecker.lovestory.cyou/api/badges/1/status.svg?branch=master)
https://woodpecker.lovestory.cyou/api/badges/1/status.svg?branch=master&event=push)
[![Build Status](https://woodpecker.lovestory.cyou/api/badges/1/status.svg)](https://woodpecker.lovestory.cyou/repos/1)

21
pom.xml
View File

@ -101,6 +101,27 @@
</excludes> </excludes>
</configuration> </configuration>
</plugin> </plugin>
<!-- <plugin>-->
<!-- <groupId>org.owasp</groupId>-->
<!-- <artifactId>dependency-check-maven</artifactId>-->
<!-- <version>12.1.0</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <goals>-->
<!-- <goal>check</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- <configuration>-->
<!--&lt;!&ndash; <failBuildOnCVSS>7</failBuildOnCVSS>&ndash;&gt;-->
<!-- <suppressionFile>${project.basedir}/dc-suppressions.xml</suppressionFile>-->
<!--&lt;!&ndash; <nvdApiKey>CD7F9976-4365-F111-836B-129478FCB64D</nvdApiKey>&ndash;&gt;-->
<!-- <ossindexAnalyzerEnabled>false</ossindexAnalyzerEnabled>-->
<!-- <retireJsAnalyzerEnabled>false</retireJsAnalyzerEnabled>-->
<!-- <nodeAuditAnalyzerEnabled>false</nodeAuditAnalyzerEnabled>-->
<!-- <nodeAnalyzerEnabled>false</nodeAnalyzerEnabled>-->
<!-- </configuration>-->
<!-- </plugin>-->
</plugins> </plugins>
</build> </build>