File tree 4 files changed +66
-0
lines changed
4 files changed +66
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : bluebuild
2
+ on :
3
+ push :
4
+ paths-ignore : # don't rebuild if only documentation has changed
5
+ - " **.md"
6
+
7
+ pull_request :
8
+ workflow_dispatch : # allow manually triggering builds
9
+ jobs :
10
+ bluebuild :
11
+ name : Build Custom Image
12
+ runs-on : ubuntu-latest
13
+ permissions :
14
+ contents : read
15
+ packages : write
16
+ id-token : write
17
+ strategy :
18
+ fail-fast : false # stop GH from cancelling all matrix builds if one fails
19
+ matrix :
20
+ recipe :
21
+
22
+ # 00-minimal
23
+ - folder : ./00-minimal
24
+ file : recipe.yml
25
+
26
+ steps :
27
+ # the build is fully handled by the reusable github action
28
+ - name : Build Custom Image
29
+ uses :
blue-build/[email protected]
30
+ working-directory : ${{ matrix.recipe.folder }}
31
+ with :
32
+ recipe : ${{ matrix.recipe.file }}
33
+ cosign_private_key : ${{ secrets.SIGNING_SECRET }}
34
+ registry_token : ${{ github.token }}
35
+ pr_event_number : ${{ github.event.number }}
Original file line number Diff line number Diff line change
1
+ # Minimal example
2
+
3
+ This example showcases how streamlined a very minimal configuration could be by omitting configuration options.
4
+
5
+ - [ recipe.yml] ( ./recipes/recipe.yml )
6
+ - [ build.yml] ( ./build.yml )
Original file line number Diff line number Diff line change
1
+ ../.github/workflows/build-simple.yml
Original file line number Diff line number Diff line change
1
+ name : example/minimal
2
+ description : minimal bluebuild example image
3
+ base-image : ghcr.io/ublue-os/kinoite-main
4
+ image-version : latest
5
+
6
+ modules :
7
+
8
+ - type : rpm-ostree
9
+ install :
10
+ - micro
11
+ - zsh
12
+ - playerctl
13
+ remove :
14
+ - firefox
15
+ - firefox-langpacks
16
+
17
+ - type : default-flatpaks
18
+ user :
19
+ install :
20
+ - org.mozilla.firefox
21
+ - org.kde.krita
22
+ - com.discordapp.Discord
23
+
24
+ - type : signing
You can’t perform that action at this time.
0 commit comments