Skip to content

Commit 49e47a4

Browse files
authored
Merge pull request #5 from blue-build/push-filters
fix: improve on-push filters & fmt
2 parents 8c26c6e + af681cd commit 49e47a4

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/build-simple.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: bluebuild
22
on:
33
push:
4-
paths-ignore: # don't rebuild if only documentation has changed
5-
- "**.md"
6-
4+
paths:
5+
- "00-minimal/**"
6+
- "10-two-images/**"
7+
- ".github/workflows/build-simple.yml"
8+
branches:
9+
- main
10+
711
pull_request:
812
workflow_dispatch: # allow manually triggering builds
913
jobs:
@@ -18,7 +22,6 @@ jobs:
1822
fail-fast: false # stop GH from cancelling all matrix builds if one fails
1923
matrix:
2024
recipe:
21-
2225
# 00-minimal
2326
- folder: ./00-minimal
2427
file: recipe.yml
@@ -30,12 +33,12 @@ jobs:
3033
file: recipe-kde.yml
3134

3235
steps:
33-
# the build is fully handled by the reusable github action
36+
# the build is fully handled by the reusable github action
3437
- name: Build Custom Image
3538
uses: blue-build/[email protected]
3639
with:
3740
recipe: ${{ matrix.recipe.file }}
3841
working_directory: ${{ matrix.recipe.folder }}
3942
cosign_private_key: ${{ secrets.SIGNING_SECRET }}
4043
registry_token: ${{ github.token }}
41-
pr_event_number: ${{ github.event.number }}
44+
pr_event_number: ${{ github.event.number }}

0 commit comments

Comments
 (0)