generated from ublue-os/image-template
-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (40 loc) · 1.27 KB
/
iso_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Build-Iso
on:
schedule:
- cron: "00 06 1 * *" # build at 06:00 UTC on the first of the month
workflow_dispatch: # allow manually triggering builds
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-iso
cancel-in-progress: true
jobs:
build_push:
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
steps:
- name: Build ISOs
uses: jasonn3/[email protected]
id: build
with:
arch: x86_64
image_name: edublue
image_repo: ghcr.io/projm-dev-team
variant: 'Kinoite'
version: '40'
secure_boot_key_url: 'https://github.com/ublue-os/akmods/raw/main/certs/public_key.der'
enrollment_password: 'ublue-os'
iso_name: edublue.iso
- name: Upload ISOs and Checksum to Job Artifacts
uses: actions/upload-artifact@v4
with:
name: edublue
path: ${{ steps.build.outputs.iso_path }}
if-no-files-found: error
retention-days: 0
compression-level: 0
overwrite: true