From 8a4aa8b4f1d7b35a770ea3b37ec75a928c816c89 Mon Sep 17 00:00:00 2001 From: humocs-man <251756307+humocs-man@users.noreply.github.com> Date: Wed, 11 Mar 2026 19:06:51 +0100 Subject: [PATCH] Update and rename build-live-iso.yml to build-installer-iso.yml --- .github/workflows/build-installer-iso.yml | 49 +++++++++++++++++++++++ .github/workflows/build-live-iso.yml | 24 ----------- 2 files changed, 49 insertions(+), 24 deletions(-) create mode 100644 .github/workflows/build-installer-iso.yml delete mode 100644 .github/workflows/build-live-iso.yml diff --git a/.github/workflows/build-installer-iso.yml b/.github/workflows/build-installer-iso.yml new file mode 100644 index 0000000..4b63417 --- /dev/null +++ b/.github/workflows/build-installer-iso.yml @@ -0,0 +1,49 @@ +name: Build bootc installer ISO + +on: + workflow_dispatch: + push: + paths: + - installer/bootc.ks + - .github/workflows/build-installer-iso.yml + +jobs: + build-iso: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y \ + genisoimage \ + isomd5sum \ + syslinux-utils \ + wget + + - name: Download Fedora Server ISO + run: | + wget -O fedora-server.iso \ + https://download.fedoraproject.org/pub/fedora/linux/releases/40/Server/x86_64/iso/Fedora-Server-dvd-x86_64-40-1.14.iso + + - name: Install mkksiso + run: | + wget -O mkksiso \ + https://raw.githubusercontent.com/rhinstaller/anaconda/main/scripts/mkksiso + chmod +x mkksiso + sudo mv mkksiso /usr/local/bin/ + + - name: Build installer ISO + run: | + mkksiso installer/bootc.ks \ + fedora-server.iso \ + fluffy-pancake-installer.iso + + - name: Upload ISO artifact + uses: actions/upload-artifact@v4 + with: + name: fluffy-pancake-installer + path: fluffy-pancake-installer.iso diff --git a/.github/workflows/build-live-iso.yml b/.github/workflows/build-live-iso.yml deleted file mode 100644 index 36e6f26..0000000 --- a/.github/workflows/build-live-iso.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Build Stable ISOs -on: - workflow_dispatch: - inputs: - upload_artifacts: - description: 'Upload ISOs as job artifacts' - type: boolean - default: true - upload_r2: - description: 'Upload ISOs to Cloudflare R2' - type: boolean - default: false - #schedule: - #- cron: '0 2 1 * *' - -jobs: - build-iso-stable: - name: Build Stable ISOs - uses: ./.github/workflows/reusable-build-iso-anaconda.yml - secrets: inherit - with: - image_tag: stable - upload_artifacts: ${{ github.event_name == 'workflow_dispatch' && inputs.upload_artifacts || false }} - upload_r2: ${{ github.event_name == 'workflow_dispatch' && inputs.upload_r2 || true }}