This repository has been archived by the owner on Dec 25, 2024. It is now read-only.
generated from blue-build/template
-
Notifications
You must be signed in to change notification settings - Fork 1
73 lines (69 loc) · 2.13 KB
/
build-iso.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
73
name: Build Atomic Studio ISOs
on:
workflow_dispatch:
pull_request:
branches:
- main
paths:
- '.github/workflows/build-iso.yml'
env:
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
build-iso:
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
id-token: write
container:
image: fedora:${{ matrix.major_version }}
options: "--privileged"
volumes:
- "/:/host"
strategy:
fail-fast: false
matrix:
image:
- name: atomic-studio
variant: Kinoite
- name: atomic-studio-hardened
variant: Kinoite
- name: atomic-studio-nvidia
variant: Kinoite
- name: atomic-studio-nvidia-hardened
variant: Kinoite
- name: atomic-studio-gnome
variant: Silverblue
- name: atomic-studio-gnome-nvidia
variant: Silverblue
- name: atomic-studio-gnome-hardened
variant: Silverblue
- name: atomic-studio-gnome-nvidia-hardened
variant: Silverblue
major_version: [39]
image_tag: [latest]
steps:
- name: Build ISOs
uses: ublue-os/[email protected]
id: build
with:
ARCH: x86_64
IMAGE_NAME: ${{ matrix.image.name }}
IMAGE_REPO: ghcr.io/atomic-studio-org
VARIANT: ${{ matrix.image.variant }}
VERSION: ${{ matrix.major_version }}
IMAGE_TAG: ${{ matrix.image_tag }}
SECURE_BOOT_KEY_URL: 'https://github.com/ublue-os/akmods/raw/main/certs/public_key.der'
ENROLLMENT_PASSWORD: 'ublue-os'
- name: Upload ISOs and Checksum to Job Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.image.name }}-${{ matrix.image_tag }}-${{ matrix.major_version}}
path: ${{ steps.build.outputs.output-directory }}
if-no-files-found: error
retention-days: 0
compression-level: 0
overwrite: true