-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
4 changed files
with
66 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: bluebuild | ||
on: | ||
push: | ||
paths-ignore: # don't rebuild if only documentation has changed | ||
- "**.md" | ||
|
||
pull_request: | ||
workflow_dispatch: # allow manually triggering builds | ||
jobs: | ||
bluebuild: | ||
name: Build Custom Image | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
id-token: write | ||
strategy: | ||
fail-fast: false # stop GH from cancelling all matrix builds if one fails | ||
matrix: | ||
recipe: | ||
|
||
# 00-minimal | ||
- folder: ./00-minimal | ||
file: recipe.yml | ||
|
||
steps: | ||
# the build is fully handled by the reusable github action | ||
- name: Build Custom Image | ||
uses: blue-build/[email protected] | ||
working-directory: ${{ matrix.recipe.folder }} | ||
with: | ||
recipe: ${{ matrix.recipe.file }} | ||
cosign_private_key: ${{ secrets.SIGNING_SECRET }} | ||
registry_token: ${{ github.token }} | ||
pr_event_number: ${{ github.event.number }} |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Minimal example | ||
|
||
This example showcases how streamlined a very minimal configuration could be by omitting configuration options. | ||
|
||
- [recipe.yml](./recipes/recipe.yml) | ||
- [build.yml](./build.yml) |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../.github/workflows/build-simple.yml |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: example/minimal | ||
description: minimal bluebuild example image | ||
base-image: ghcr.io/ublue-os/kinoite-main | ||
image-version: latest | ||
|
||
modules: | ||
|
||
- type: rpm-ostree | ||
install: | ||
- micro | ||
- zsh | ||
- playerctl | ||
remove: | ||
- firefox | ||
- firefox-langpacks | ||
|
||
- type: default-flatpaks | ||
user: | ||
install: | ||
- org.mozilla.firefox | ||
- org.kde.krita | ||
- com.discordapp.Discord | ||
|
||
- type: signing |