This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
forked from JasonN3/build-container-installer
-
Notifications
You must be signed in to change notification settings - Fork 2
72 lines (66 loc) · 1.64 KB
/
test-iso-secure-boot.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: Test Generate ISO with Secure Boot
on:
merge_group:
pull_request:
branches:
- main
paths-ignore:
- 'Containerfile'
- '*.md'
- 'LICENSE'
- 'CODEOWNERS'
workflow_dispatch:
jobs:
build-and-push-iso:
name: Build ISO
runs-on: ubuntu-latest
container:
image: fedora:39
options: "--privileged"
volumes:
- "/:/host"
permissions:
contents: read
packages: write
strategy:
fail-fast: false
matrix:
version:
- 38
- 39
image_tag: [latest,gts]
exclude:
- version: 38
image_tag: latest
- version: 39
image_tag: gts
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build ISO
uses: ./
with:
ARCH: 'x86_64'
IMAGE_NAME: 'bluefin'
IMAGE_REPO: 'ghcr.io/ublue-os'
VARIANT: 'Kinoite'
VERSION: ${{ matrix.version }}
IMAGE_TAG: ${{ matrix.image_tag }}
ACTION_REPO: ${{ github.repository }}
ACTION_REF: ${{ github.ref }}
SECURE_BOOT_KEY_URL: 'https://github.com/ublue-os/akmods/raw/main/certs/public_key.der'
ENROLLMENT_PASSWORD: 'ublue-os'
check:
name: Check build successful
if: ${{ !cancelled() }}
runs-on: ubuntu-latest
needs:
- build-and-push-iso
steps:
- name: Exit on failure for main
if: ${{ needs.build-and-push-iso.result == 'failure' || needs.build-and-push-iso.result == 'skipped' }}
shell: bash
run: exit 1
- name: Exit
shell: bash
run: exit 0