generated from blue-build/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c44463
commit 1dead0f
Showing
1 changed file
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
name: bluebuild | ||
on: | ||
schedule: | ||
- cron: "00 06 * * *" # build at 06:00 UTC every day | ||
# (20 minutes after last ublue images start building) | ||
- cron: "00 18 * * 5" | ||
push: | ||
paths-ignore: # don't rebuild if only documentation has changed | ||
paths-ignore: | ||
- "**.md" | ||
|
||
pull_request: | ||
workflow_dispatch: # allow manually triggering builds | ||
workflow_dispatch: | ||
jobs: | ||
bluebuild: | ||
name: Build Custom Image | ||
|
@@ -18,21 +17,20 @@ jobs: | |
packages: write | ||
id-token: write | ||
strategy: | ||
fail-fast: false # stop GH from cancelling all matrix builds if one fails | ||
fail-fast: false | ||
matrix: | ||
recipe: | ||
# !! Add your recipes here | ||
- recipe-myos-gnome-main.yml | ||
- recipe-myos-gnome-nvidia.yml | ||
- recipe-myos-sway-main.yml | ||
- recipe-myos-sway-nvidia.yml | ||
|
||
steps: | ||
# the build is fully handled by the reusable github action | ||
- name: Build Custom Image | ||
uses: blue-build/[email protected] | ||
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 | ||
pr_event_number: ${{ github.event.number }} | ||
maximize_build_space: true |