Skip to content

Commit 68eb276

Browse files
committed
Fix workflow to only rebuild on actual image changes
- Remove docker-compose.yml from build triggers (doesn't affect image) - Remove config/** from triggers (mounted at runtime, not in image) - Remove requirements.txt (not used in current Dockerfile) This prevents unnecessary rebuilds when only documentation or runtime configuration changes.
1 parent 2e9be17 commit 68eb276

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

.github/workflows/build-and-publish.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,19 @@ on:
66
tags: [ 'v*' ]
77
paths:
88
- 'Dockerfile'
9-
- 'docker-compose.yml'
109
- 'providers/**'
11-
- 'config/**'
1210
- 'scripts/**'
1311
- 'startup.py'
1412
- 'custom_handler.py'
15-
- 'requirements.txt'
1613
- '.github/workflows/build-and-publish.yml'
1714
pull_request:
1815
branches: [ main ]
1916
paths:
2017
- 'Dockerfile'
21-
- 'docker-compose.yml'
2218
- 'providers/**'
23-
- 'config/**'
2419
- 'scripts/**'
2520
- 'startup.py'
2621
- 'custom_handler.py'
27-
- 'requirements.txt'
2822
- '.github/workflows/build-and-publish.yml'
2923
workflow_dispatch:
3024

0 commit comments

Comments
 (0)