fix: streamline recipe, update workflow, document including empty objects (#46)

* fix: streamline recipe, update workflow, document including empty objects

* feat: only run one build at a time #43
This commit is contained in:
xyny
2024-12-06 16:22:01 +02:00
committed by GitHub
parent 6913849221
commit e9910c094d
2 changed files with 13 additions and 14 deletions

View File

@@ -1,14 +1,19 @@
name: bluebuild
on:
schedule:
- cron: "00 06 * * *" # build at 06:00 UTC every day
# (20 minutes after last ublue images start building)
- cron:
"00 06 * * *" # build at 06:00 UTC every day
# (20 minutes after last ublue images start building)
push:
paths-ignore: # don't rebuild if only documentation has changed
- "**.md"
pull_request:
workflow_dispatch: # allow manually triggering builds
concurrency:
# only run one build at a time
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
bluebuild:
name: Build Custom Image
@@ -21,17 +26,17 @@ jobs:
fail-fast: false # stop GH from cancelling all matrix builds if one fails
matrix:
recipe:
# !! Add your recipes here
# !! Add your recipes here
- recipe.yml
steps:
# the build is fully handled by the reusable github action
# the build is fully handled by the reusable github action
- name: Build Custom Image
uses: blue-build/github-action@v1.7
uses: blue-build/github-action@v1.8
with:
recipe: ${{ matrix.recipe }}
cosign_private_key: ${{ secrets.SIGNING_SECRET }}
registry_token: ${{ github.token }}
pr_event_number: ${{ github.event.number }}
# enabled by default, disable if your image is small and you want faster builds
# enabled by default, disable if your image is small and you want faster builds
maximize_build_space: true