Commit c5c871d
committed
ci(docker): add path filters to avoid unnecessary builds
Only trigger Docker build when code actually changes:
- Rust source code (src/, crates/, benches/)
- Dependencies (Cargo.toml, Cargo.lock)
- Docker configuration (Dockerfile, .dockerignore)
Skip build for:
- Documentation changes (*.md, docs/)
- CI workflow updates (docker-publish.yml itself)
- Other non-code files
This saves GitHub Actions minutes and avoids waste builds.1 parent 85a15f5 commit c5c871d
1 file changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
7 | 19 | | |
8 | 20 | | |
9 | 21 | | |
10 | | - | |
11 | | - | |
| 22 | + | |
12 | 23 | | |
| 24 | + | |
| 25 | + | |
13 | 26 | | |
14 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
15 | 32 | | |
16 | 33 | | |
17 | 34 | | |
| |||
0 commit comments