fix(deploy): 修复部署脚本中的参数传递问题3
This commit is contained in:
parent
6904589535
commit
cbc4e077c6
|
|
@ -36,6 +36,10 @@ steps:
|
||||||
FULL_PULL_REPO: *FULL_PULL_REPO
|
FULL_PULL_REPO: *FULL_PULL_REPO
|
||||||
APP_REGISTRY: *APP_REGISTRY
|
APP_REGISTRY: *APP_REGISTRY
|
||||||
PROJECT_PORT: *PROJECT_PORT
|
PROJECT_PORT: *PROJECT_PORT
|
||||||
|
NEXUS_DOCKER_USERNAME:
|
||||||
|
from_secret: "NEXUS_DOCKER_USERNAME"
|
||||||
|
NEXUS_DOCKER_PASSWORD:
|
||||||
|
from_secret: "NEXUS_DOCKER_PASSWORD"
|
||||||
settings:
|
settings:
|
||||||
host: *DEPLOY_HOST
|
host: *DEPLOY_HOST
|
||||||
username:
|
username:
|
||||||
|
|
|
||||||
|
|
@ -212,3 +212,9 @@ A: 将宿主机 `/tmp/maven-cache` 挂载到容器的 `/root/.m2`,确保每次
|
||||||
**Q: 如何添加新的集群节点?**
|
**Q: 如何添加新的集群节点?**
|
||||||
|
|
||||||
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` 密钥即可。
|
||||||
|
|
||||||
|
|
||||||
|
[]
|
||||||
|
|
||||||
|

|
||||||
|
|
|
||||||
Loading…
Reference in New Issue