feat: add GHCR Docker image publishing with multi-arch support

Add GitHub Actions workflow to automatically build and publish Docker
images to ghcr.io on releases. Supports amd64 and arm64 architectures.
Pre-built image available at ghcr.io/root-fr/jmap-webmail.
This commit is contained in:
Matthieu MALVACHE
2026-02-21 23:30:44 +01:00
committed by Matthieu MALVACHE
parent a43096485b
commit a932e1a1c7
4 changed files with 71 additions and 1 deletions
+5 -1
View File
@@ -122,6 +122,7 @@ This webmail client is designed to work seamlessly with [**Stalwart Mail Server*
- Persistent language preference
### Deployment
- Pre-built Docker image on [GitHub Container Registry](https://ghcr.io/root-fr/jmap-webmail) (amd64/arm64)
- Docker support with multi-stage build and standalone output
- Runtime environment variables (no rebuild needed for config changes)
- Health check endpoint for container orchestration
@@ -198,12 +199,15 @@ npm start
### Docker
```bash
# Using the pre-built image (recommended)
docker run -p 3000:3000 -e JMAP_SERVER_URL=https://mail.example.com ghcr.io/root-fr/jmap-webmail:latest
# Using docker-compose
cp .env.example .env.local
# Edit .env.local with your JMAP_SERVER_URL
docker compose up -d
# Or build manually
# Or build from source
docker build -t jmap-webmail .
docker run -p 3000:3000 -e JMAP_SERVER_URL=https://mail.example.com jmap-webmail
```