diff --git a/.woodpecker/deploy.yaml b/.woodpecker/deploy.yaml index eeb7958..534f7a4 100644 --- a/.woodpecker/deploy.yaml +++ b/.woodpecker/deploy.yaml @@ -36,6 +36,10 @@ steps: FULL_PULL_REPO: *FULL_PULL_REPO APP_REGISTRY: *APP_REGISTRY PROJECT_PORT: *PROJECT_PORT + NEXUS_DOCKER_USERNAME: + from_secret: "NEXUS_DOCKER_USERNAME" + NEXUS_DOCKER_PASSWORD: + from_secret: "NEXUS_DOCKER_PASSWORD" settings: host: *DEPLOY_HOST username: diff --git a/README.md b/README.md index 0274faf..8237ed4 100644 --- a/README.md +++ b/README.md @@ -212,3 +212,9 @@ A: 将宿主机 `/tmp/maven-cache` 挂载到容器的 `/root/.m2`,确保每次 **Q: 如何添加新的集群节点?** 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)] + +![Security Scan]( +https://woodpecker.lovestory.cyou/api/badges/1/status.svg?branch=master&event=push)