feat: add github workflow for build and release
Some checks failed
container-images / build-container-image (push) Has been cancelled

This commit is contained in:
2026-03-01 23:07:46 +01:00
parent e9a087fc69
commit 5707441e5c
3 changed files with 105 additions and 3 deletions

View File

@@ -64,6 +64,14 @@ todo-mcp purge
## Docker
A pre-built image is available from GitHub Container Registry:
```sh
docker run --rm -v todo-mcp-data:/data -e TODO_DB=/data/todos.db ghcr.io/janezicmatej/todo-mcp --help
```
Or build locally:
```sh
docker build -t local/todo-mcp .
docker run --rm -v todo-mcp-data:/data -e TODO_DB=/data/todos.db local/todo-mcp --help
@@ -88,8 +96,6 @@ Data is persisted in the `todo-mcp-data` volume. See [Usage](#usage) for more co
### Docker
Build the image first (see [Docker](#docker)), then add to your Claude MCP config:
```json
{
"mcpServers": {
@@ -99,7 +105,7 @@ Build the image first (see [Docker](#docker)), then add to your Claude MCP confi
"run", "-i", "--rm",
"-v", "todo-mcp-data:/data",
"-e", "TODO_DB=/data/todos.db",
"local/todo-mcp", "mcp-serve"
"ghcr.io/janezicmatej/todo-mcp", "mcp-serve"
]
}
}