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 name: bluebuild
on: on:
schedule: schedule:
- cron: "00 06 * * *" # build at 06:00 UTC every day - cron:
# (20 minutes after last ublue images start building) "00 06 * * *" # build at 06:00 UTC every day
# (20 minutes after last ublue images start building)
push: push:
paths-ignore: # don't rebuild if only documentation has changed paths-ignore: # don't rebuild if only documentation has changed
- "**.md" - "**.md"
pull_request: pull_request:
workflow_dispatch: # allow manually triggering builds 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: jobs:
bluebuild: bluebuild:
name: Build Custom Image name: Build Custom Image
@@ -24,9 +29,9 @@ jobs:
# !! Add your recipes here # !! Add your recipes here
- recipe.yml - recipe.yml
steps: 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 - name: Build Custom Image
uses: blue-build/github-action@v1.7 uses: blue-build/github-action@v1.8
with: with:
recipe: ${{ matrix.recipe }} recipe: ${{ matrix.recipe }}
cosign_private_key: ${{ secrets.SIGNING_SECRET }} cosign_private_key: ${{ secrets.SIGNING_SECRET }}

View File

@@ -33,18 +33,12 @@ modules:
notify: true # Send notification after install/uninstall is finished (true/false) notify: true # Send notification after install/uninstall is finished (true/false)
system: system:
# If no repo information is specified, Flathub will be used by default # If no repo information is specified, Flathub will be used by default
# repo-url: https://dl.flathub.org/repo/flathub.flatpakrepo
repo-name: flathub
repo-title: "Flathub (system-wide)" # Optional; this sets the remote's user-facing name in graphical frontends like GNOME Software
install: install:
- org.mozilla.firefox - org.mozilla.firefox
- org.gnome.Loupe - org.gnome.Loupe
# - one.ablaze.floorp//lightning # This is an example of flatpak which has multiple branches in selection (flatpak//branch).
# Flatpak runtimes are not supported (like org.winehq.Wine//stable-23.08),
# only normal flatpak applications are (like Floorp Lightning web browser in this example).
# Installing different branches of the same Flatpak is not supported.
remove: remove:
- org.gnome.eog - org.gnome.eog
user: {} # Also add Flathub user repo, but no user packages
- type: signing # this sets up the proper policy & signing files for signed images to work fully - type: signing # this sets up the proper policy & signing files for signed images to work fully