Files
fluffy-pancake/.github/workflows/build-installer-iso.yml
T

44 lines
1.1 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
# 🔑 WICHTIG: bootc-image-builder zieht Images NICHT selbst
- name: Pull bootc base image
run: |
docker pull ghcr.io/dein/fluffy-pancake:latest
- name: Pull bootc-image-builder container
run: |
docker pull quay.io/centos-bootc/bootc-image-builder:latest
- name: Build ISO
run: |
docker run --rm --privileged \
-v "${{ github.workspace }}:/workspace" \
-v "${{ github.workspace }}/output:/output" \
-v "/var/lib/containers/storage:/var/lib/containers/storage" \
quay.io/centos-bootc/bootc-image-builder:latest \
/workspace/iso/config.toml
- name: Upload ISO artifact
uses: actions/upload-artifact@v4
with:
name: installer-iso
path: output/*.iso