ci: publish docker image on release tags
CI / Build and push docker image (push) Successful in 1m44s
CI / Build and push docker image (push) Successful in 1m44s
Gitea Actions workflow triggered by release/* tags: builds the image with the hostinger runner and pushes gitea.woggioni.net/woggioni/xmcp:<version> and :latest. Also document the release process in the README.
This commit is contained in:
@@ -118,11 +118,25 @@ The base URL for generated tools is chosen as follows:
|
||||
private network or behind a reverse proxy / gateway that enforces
|
||||
authentication before exposing it publicly.
|
||||
|
||||
## Releasing
|
||||
|
||||
Pushing a `release/*` tag triggers the Gitea Actions pipeline, which builds the
|
||||
Docker image and pushes it to the Gitea container registry:
|
||||
|
||||
```sh
|
||||
git tag release/0.1.0
|
||||
git push origin release/0.1.0
|
||||
```
|
||||
|
||||
This publishes `gitea.woggioni.net/woggioni/xmcp:0.1.0` and
|
||||
`gitea.woggioni.net/woggioni/xmcp:latest`.
|
||||
|
||||
## Project layout
|
||||
|
||||
```
|
||||
src/xmcp/config.py env var parsing and validation
|
||||
src/xmcp/spec.py spec loading, base URL resolution, API client
|
||||
src/xmcp/server.py FastMCP server construction and entrypoint
|
||||
Dockerfile multi-stage build (uv builder -> slim runtime, non-root)
|
||||
src/xmcp/config.py env var parsing and validation
|
||||
src/xmcp/spec.py spec loading, base URL resolution, API client
|
||||
src/xmcp/server.py FastMCP server construction and entrypoint
|
||||
Dockerfile multi-stage build (uv builder -> slim runtime, non-root)
|
||||
.gitea/workflows/build.yaml release pipeline (tag push -> docker build & push)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user