File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -39,16 +39,22 @@ jobs:
3939 uses : dorny/paths-filter@v3
4040 with :
4141 filters : |
42- collector :
42+ collector_image :
4343 - 'collector/**'
44- frontend:
44+ - 'init-db/**'
45+ - '.env.example'
46+ - 'docker-compose.yml'
47+ - 'docker-compose.override.yml'
48+ - '.github/workflows/docker-image.yml'
49+ frontend_image:
4550 - 'frontend/**'
46- shared:
51+ - '.env.example'
4752 - 'docker-compose.yml'
53+ - 'docker-compose.override.yml'
4854 - '.github/workflows/docker-image.yml'
4955
5056 - name : Extract metadata for Collector
51- if : steps.changes.outputs.collector == 'true' || steps.changes.outputs.shared == 'true'
57+ if : steps.changes.outputs.collector_image == 'true'
5258 id : meta-collector
5359 uses : docker/metadata-action@v5
5460 with :
5864 type=sha,prefix=
5965
6066 - name : Extract metadata for Frontend
61- if : steps.changes.outputs.frontend == 'true' || steps.changes.outputs.shared == 'true'
67+ if : steps.changes.outputs.frontend_image == 'true'
6268 id : meta-frontend
6369 uses : docker/metadata-action@v5
6470 with :
6874 type=sha,prefix=
6975
7076 - name : Build and push Collector image
71- if : steps.changes.outputs.collector == 'true' || steps.changes.outputs.shared == 'true'
77+ if : steps.changes.outputs.collector_image == 'true'
7278 uses : docker/build-push-action@v6
7379 with :
7480 context : ./collector
8086 cache-to : type=gha,mode=max
8187
8288 - name : Build and push Frontend image
83- if : steps.changes.outputs.frontend == 'true' || steps.changes.outputs.shared == 'true'
89+ if : steps.changes.outputs.frontend_image == 'true'
8490 uses : docker/build-push-action@v6
8591 with :
8692 context : ./frontend
You can’t perform that action at this time.
0 commit comments