docs(readme): CI 介绍句补 deploy step,与 DEPLOY_PATH bullet 对齐
上一笔 03474c8 加 vars.DEPLOY_PATH 时只动了 bullet,介绍句还是
'builds and pushes the image',与新 bullet 描述的 deploy job 不对齐。
补一句 'then optionally redeploys ... (controlled by vars.DEPLOY_PATH)'。
This commit is contained in:
+1
-1
@@ -143,7 +143,7 @@ docker run --rm -p 8080:8080 \
|
||||
gitea-mcp
|
||||
```
|
||||
|
||||
仓库内的 `.gitea/workflows/build-image.yml` 在每次推送到 `main` 时构建并推送镜像。需要在仓库设置中配置:
|
||||
仓库内的 `.gitea/workflows/build-image.yml` 在每次推送到 `main` 时构建并推送镜像,并可选在 runner 主机上重启容器(由下方 `vars.DEPLOY_PATH` 控制)。需要在仓库设置中配置:
|
||||
|
||||
- `vars.REGISTRY` —— registry 主机名(例如 `ghcr.io`,自建 Gitea Container Registry 写 `git.example.com`)
|
||||
- `vars.IMAGE_OWNER` —— registry 的 owner / namespace
|
||||
|
||||
Reference in New Issue
Block a user