From cbc4e077c6e03a6e6707d5a0cc1f76d5dbf9c7f5 Mon Sep 17 00:00:00 2001 From: gxl Date: Tue, 9 Jun 2026 11:12:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(deploy):=20=E4=BF=AE=E5=A4=8D=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E8=84=9A=E6=9C=AC=E4=B8=AD=E7=9A=84=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E4=BC=A0=E9=80=92=E9=97=AE=E9=A2=983?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker/deploy.yaml | 4 ++++ README.md | 6 ++++++ 2 files changed, 10 insertions(+) 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)