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

47 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
- name: Install podman
run: |
sudo apt-get update
sudo apt-get install -y podman
- name: Pull installer image (bootc rootfs)
run: |
sudo podman pull ghcr.io/humocs-man/fluffy-pancake:stable
- name: Pull bootc-image-builder
run: |
sudo podman pull quay.io/centos-bootc/bootc-image-builder:latest
- name: Build ISO
run: |
sudo podman run --rm --privileged \
-v "${{ github.workspace }}:/workspace" \
-v "${{ github.workspace }}/output:/output" \
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