diff --git a/README.md b/README.md index cea6d12..524f07d 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,9 @@ docker run --rm -p 8080:8080 \ ``` The included `.gitea/workflows/build-image.yml` builds and pushes the image -on every push to `main`. It expects these repository Variables / Secrets: +on every push to `main`, 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 3439c40..6366001 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -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