Skip to content

Commit 7932175

Browse files
committed
feat(build): split recipe in 2, add -server
1 parent 7cd865d commit 7932175

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

.github/workflows/build-server.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: bluebuild-server
2+
on:
3+
schedule:
4+
#- cron: "00 17 * * *" # build at 17:00 UTC every day
5+
# (20 minutes after last ublue images start building)
6+
- cron: "00 17 * * 5" # build at 17:00 UTC every friday
7+
# (20 minutes after last ublue images start building)
8+
push:
9+
paths-ignore: # don't rebuild if only documentation has changed
10+
- "**.md"
11+
- reciepe/recipe-bazzite.yml
12+
13+
pull_request:
14+
workflow_dispatch: # allow manually triggering builds
15+
jobs:
16+
bluebuild:
17+
name: Build Custom Image
18+
runs-on: ubuntu-latest
19+
permissions:
20+
contents: read
21+
packages: write
22+
id-token: write
23+
strategy:
24+
fail-fast: true # stop GH from cancelling all matrix builds if one fails
25+
matrix:
26+
recipe:
27+
# !! Add your recipes here
28+
- recipe-bazzite-server.yml
29+
steps:
30+
# the build is fully handled by the reusable github action
31+
32+
# If you ran out of space during build, this should help
33+
34+
- name: Build Custom Image
35+
uses: blue-build/github-action@v1.6.1
36+
with:
37+
recipe: ${{ matrix.recipe }}
38+
cosign_private_key: ${{ secrets.SIGNING_SECRET }}
39+
registry_token: ${{ github.token }}
40+
pr_event_number: ${{ github.event.number }}
41+
#use_unstable_cli: false # this action pulls the main branch of blue-build/cli instead of the stable version
42+
maximize_build_space: true # run the unwanted software remover to maximize build space
43+
squash: true

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
push:
99
paths-ignore: # don't rebuild if only documentation has changed
1010
- "**.md"
11+
- recipe/recipe-bazzite-server.yml
1112

1213
pull_request:
1314
workflow_dispatch: # allow manually triggering builds
@@ -25,7 +26,6 @@ jobs:
2526
recipe:
2627
# !! Add your recipes here
2728
- recipe-bazzite.yml
28-
- recipe-bazzite-server.yml
2929
#- recipe-aurora.yml
3030
#- recipe-kinoite.yml
3131
steps:

0 commit comments

Comments
 (0)