42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
name: Build Installer ISO
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build-iso:
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Prepare output directory
|
|
run: mkdir -p output
|
|
|
|
- name: Build ISO (Interactive Mode)
|
|
run: |
|
|
# Wir lassen die --config Flag einfach weg.
|
|
# Dadurch wird eine Standard-ISO ohne Vorbelegungen erstellt.
|
|
sudo podman run --rm --privileged \
|
|
-v ./output:/output \
|
|
-v /var/lib/containers/storage:/var/lib/containers/storage \
|
|
quay.io/centos-bootc/bootc-image-builder:latest \
|
|
--type anaconda-iso \
|
|
--output /output/ \
|
|
ghcr.io/humocs-man/fluffy-pancake:stable
|
|
|
|
- name: Upload ISO artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: installer-iso
|
|
path: output/**/disk.iso
|
|
if-no-files-found: error
|