diff --git a/.woodpecker.yml b/.woodpecker.yml index 1e47d96..b025a4d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -60,8 +60,29 @@ steps: - event: [push, tag] branch: main - # Build and push Docker image (tags only) - package-docker: + # Build and push Docker image (main branch - dev tag) + docker-dev: + image: *docker_image + settings: + repo: ghcr.io/barryw/paperlessmcp + dockerfile: PaperlessMCP/Dockerfile + context: PaperlessMCP + platforms: + - linux/amd64 + - linux/arm64 + tag: dev + registry: ghcr.io + username: + from_secret: github_username + password: + from_secret: github_token + depends_on: [version] + when: + - event: push + branch: main + + # Build and push Docker image (tags - release) + docker-release: image: *docker_image settings: repo: ghcr.io/barryw/paperlessmcp @@ -105,6 +126,6 @@ steps: files: - artifacts/*.nupkg title: ${CI_COMMIT_TAG} - depends_on: [package-nuget, package-docker] + depends_on: [package-nuget, docker-release] when: - event: tag diff --git a/README.md b/README.md index d83ef04..cbf02c4 100644 --- a/README.md +++ b/README.md @@ -156,7 +156,10 @@ git tag v1.0.0 git push origin v1.0.0 ``` -**Docker Images:** `ghcr.io/barryw/paperlessmcp:latest` +**Docker Images:** +- `ghcr.io/barryw/paperlessmcp:latest` — Latest release +- `ghcr.io/barryw/paperlessmcp:dev` — Latest main branch +- `ghcr.io/barryw/paperlessmcp:vX.Y.Z` — Specific version ### Project Structure