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: