feat: push Docker image to GitHub Container Registry on release

Replace generic registry secrets with ghcr.io using the built-in
GITHUB_TOKEN. Use docker/metadata-action for automatic semver tagging.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Frederic Cabassut
2026-03-05 23:19:12 +01:00
co-authored by Claude Opus 4.6
parent 3bde75592f
commit 60b2347c91
2 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ GitHub Actions with two workflows:
5. **Docker Build** — validates the Docker image builds (depends on step 3)
**Release** (`.github/workflows/release.yml`) — runs on `v*` tags:
- Runs full CI pipeline, then builds + pushes Docker image to configured registry
- Runs full CI pipeline, then builds + pushes Docker image to `ghcr.io` (GitHub Container Registry)
- Creates a GitHub Release with auto-generated notes
**Docker**: Multi-stage Dockerfile (node:22-slim), exposes port 3000, persists data to `/data` volume.