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 @@ + + + + + + + + + + + + + + + + + + + + +