We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 85a15f5 + c5c871d commit 858f96aCopy full SHA for 858f96a
1 file changed
.github/workflows/docker-publish.yml
@@ -4,14 +4,31 @@ on:
4
push:
5
branches: [main]
6
tags: ['v*']
7
+ paths:
8
+ # Only build Docker image when code actually changes
9
+ - 'src/**'
10
+ - 'crates/**'
11
+ - 'benches/**'
12
+ - 'Cargo.toml'
13
+ - 'Cargo.lock'
14
+ - 'Dockerfile'
15
+ - '.dockerignore'
16
+ # Exclude documentation changes
17
+ - '!**.md'
18
+ - '!docs/**'
19
pull_request:
20
21
paths:
- - 'Dockerfile'
- - '.github/workflows/docker-publish.yml'
22
+ # Same filters for PR builds
23
- 'src/**'
24
25
26
- 'Cargo.toml'
27
- 'Cargo.lock'
28
29
30
31
32
workflow_dispatch:
33
34
env:
0 commit comments