diff --git a/README.md b/README.md index 225f018..a497cfe 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,9 @@ docker run --rm -p 8080:8080 \ ``` 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.IMAGE_OWNER` — registry owner/namespace diff --git a/README.zh-CN.md b/README.zh-CN.md index 1cbae68..b55a7d6 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -132,7 +132,7 @@ docker run --rm -p 8080:8080 \ 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.IMAGE_OWNER` —— registry 的 owner / namespace