docs(readme): CI 介绍句补 deploy step,与 DEPLOY_PATH bullet 对齐
跟 gitea-mcp 52c46e7 同步:介绍句之前只说 'builds and pushes', 跟新加的 vars.DEPLOY_PATH bullet 不对齐。补 'then optionally redeploys ... (controlled by vars.DEPLOY_PATH)'。
This commit is contained in:
@@ -138,7 +138,9 @@ docker run --rm -p 8080:8080 \
|
|||||||
```
|
```
|
||||||
|
|
||||||
The included `.gitea/workflows/build-image.yml` is a Gitea Actions workflow that
|
The included `.gitea/workflows/build-image.yml` is a Gitea Actions workflow that
|
||||||
builds and pushes the image. It expects these repository Variables / Secrets:
|
builds and pushes the image, then optionally redeploys the container on the
|
||||||
|
runner host (controlled by `vars.DEPLOY_PATH`, see below). It expects these
|
||||||
|
repository Variables / Secrets:
|
||||||
|
|
||||||
- `vars.REGISTRY` — registry hostname (e.g. `ghcr.io`, or `git.example.com` for Gitea Container Registry)
|
- `vars.REGISTRY` — registry hostname (e.g. `ghcr.io`, or `git.example.com` for Gitea Container Registry)
|
||||||
- `vars.IMAGE_OWNER` — registry owner/namespace
|
- `vars.IMAGE_OWNER` — registry owner/namespace
|
||||||
|
|||||||
+1
-1
@@ -132,7 +132,7 @@ docker run --rm -p 8080:8080 \
|
|||||||
obsidian-mcp
|
obsidian-mcp
|
||||||
```
|
```
|
||||||
|
|
||||||
仓库内的 `.gitea/workflows/build-image.yml` 是一个 Gitea Actions workflow,负责构建并推送镜像。需要在仓库设置中配置:
|
仓库内的 `.gitea/workflows/build-image.yml` 是一个 Gitea Actions workflow,负责构建并推送镜像,并可选在 runner 主机上重启容器(由下方 `vars.DEPLOY_PATH` 控制)。需要在仓库设置中配置:
|
||||||
|
|
||||||
- `vars.REGISTRY` —— registry 主机名(例如 `ghcr.io`,自建 Gitea Container Registry 写 `git.example.com`)
|
- `vars.REGISTRY` —— registry 主机名(例如 `ghcr.io`,自建 Gitea Container Registry 写 `git.example.com`)
|
||||||
- `vars.IMAGE_OWNER` —— registry 的 owner / namespace
|
- `vars.IMAGE_OWNER` —— registry 的 owner / namespace
|
||||||
|
|||||||
Reference in New Issue
Block a user