From 9f4ea28a424a67877f3b4227d5259d93c22b4c4d Mon Sep 17 00:00:00 2001 From: humocs-man <251756307+humocs-man@users.noreply.github.com> Date: Thu, 12 Mar 2026 06:57:58 +0100 Subject: [PATCH] Update build-installer-iso.yml --- .github/workflows/build-installer-iso.yml | 33 +++++++++++------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build-installer-iso.yml b/.github/workflows/build-installer-iso.yml index f17eef7..68a8e0e 100644 --- a/.github/workflows/build-installer-iso.yml +++ b/.github/workflows/build-installer-iso.yml @@ -18,34 +18,31 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Install podman - run: | - sudo apt-get update - sudo apt-get install -y podman - - name: Prepare output directory - run: | - mkdir -p output + run: mkdir -p output - - name: Pull installer image + - name: Pull base image run: | + # Falls das Repository privat ist, hier vorher ein 'podman login' einfügen 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 + - name: Build ISO with bootc-image-builder run: | sudo podman run --rm --privileged \ - -v "${{ github.workspace }}:/workspace" \ - -v "${{ github.workspace }}/output:/output" \ - -v "/var/lib/containers/storage:/var/lib/containers/storage" \ + -v .:/workspace \ + -v ./output:/output \ + -v /var/lib/containers/storage:/var/lib/containers/storage \ quay.io/centos-bootc/bootc-image-builder:latest \ - /workspace/iso/config.toml + --config /workspace/iso/config.toml \ + --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/*.iso + # Wir nutzen Wildcards, da der Builder die ISO oft in + # einen Unterordner wie 'output/anaconda/' legt. + path: output/**/disk.iso + if-no-files-found: error