Add configurable registry push to Docker workflow
Some checks failed
lint / lint (push) Failing after 2m15s
test / test (push) Failing after 11s

This commit is contained in:
2026-02-27 15:50:12 +01:00
parent fa30153c0d
commit c0357ceb69
2 changed files with 38 additions and 4 deletions

View File

@@ -41,6 +41,12 @@ Workflows live in `.gitea/workflows/`:
- `test.yml`: lint + tests + coverage fail-under `80`.
- `docker.yml`: lint + test + docker smoke-test gating; image publish on push to `main`/`dev` and on approved PR review targeting `main`/`dev`; tags include commit SHA plus `latest` (`main`) or `dev` (`dev`).
Docker publish settings:
- `vars.PUSH_IMAGE=true` enables registry push.
- `vars.REGISTRY_IMAGE` sets the target image name (for example `registry.example.com/org/aegis-gitea-mcp`).
- `vars.REGISTRY_HOST` is optional and overrides the login host detection.
- `secrets.REGISTRY_USER` and `secrets.REGISTRY_TOKEN` are required when push is enabled.
## Production Recommendations
- Place MCP behind TLS reverse proxy.