mirror of
https://github.com/bretzel-app/crumbs.git
synced 2026-10-12 12:06:57 +02:00
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:
co-authored by
Claude Opus 4.6
parent
3bde75592f
commit
60b2347c91
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user