fix(ci): add path filters to Docker workflow to avoid unnecessary rebuilds

This commit is contained in:
Matthieu MALVACHE
2026-02-21 23:59:03 +01:00
committed by Matthieu MALVACHE
parent d7cda6f870
commit fb7cfe1634
2 changed files with 15 additions and 1 deletions
+14
View File
@@ -3,6 +3,20 @@ name: Publish Docker Image
on:
push:
branches: [main]
paths:
- "Dockerfile"
- ".dockerignore"
- "app/**"
- "components/**"
- "contexts/**"
- "hooks/**"
- "lib/**"
- "stores/**"
- "locales/**"
- "public/**"
- "package.json"
- "package-lock.json"
- ".github/workflows/docker-publish.yml"
tags: ["v*.*.*"]
workflow_dispatch:
+1 -1
View File
@@ -202,7 +202,7 @@ npm start
# 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
# Or with docker compose
cp .env.example .env.local
# Edit .env.local with your JMAP_SERVER_URL
docker compose up -d