- notify-bootc-user.sh: D-Bus-Umgebung korrekt fuer Systemd-Service, jq-basierter Staging-Check (.status.staged != null), Guard Clauses, -Variable entfernt - Containerfile: COPY --chmod=755 fuer Skript-Permissions - build/20-multimedia.sh: Redundantes dnf5 clean all entfernt - build/30-virt.sh: dnf5 autoremove und Cleanup entfernt - build/40-remove-packages.sh: || true entfernt (Fehler sichtbar machen) - build/50-prepare-flatpak-for-bazaar.sh: curl -f --retry 3 hinzugefuegt - build.yml: chunkah Rechunk-Step fuer content-based Layers (Delta-Updates), Cache-Key erweitert (scripts/**), continue-on-error entfernt - build-installer-iso.yml: concurrency-Block hinzugefuegt
62 lines
1.7 KiB
YAML
62 lines
1.7 KiB
YAML
name: Build Installer ISO
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-iso:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Free disk space
|
|
run: |
|
|
sudo rm -rf /usr/share/dotnet
|
|
sudo rm -rf /usr/local/lib/android
|
|
sudo rm -rf /opt/ghc
|
|
sudo rm -rf /opt/hostedtoolcache
|
|
sudo docker image prune -af
|
|
df -h
|
|
|
|
- name: Prepare output directory
|
|
run: mkdir -p output
|
|
|
|
- name: Login to GHCR
|
|
run: |
|
|
echo "${{ secrets.GITHUB_TOKEN }}" | sudo podman login ghcr.io \
|
|
-u ${{ github.actor }} --password-stdin
|
|
|
|
- name: Pull base image
|
|
run: |
|
|
sudo podman pull ghcr.io/humocs-man/fluffy-pancake:stable
|
|
|
|
- name: Build ISO
|
|
run: |
|
|
sudo podman run --rm --privileged \
|
|
-v ${{ github.workspace }}/iso/config.toml:/config.toml:ro \
|
|
-v ${{ github.workspace }}/output:/output \
|
|
-v /var/lib/containers/storage:/var/lib/containers/storage \
|
|
ghcr.io/osbuild/bootc-image-builder:latest \
|
|
--type anaconda-iso \
|
|
--rootfs btrfs \
|
|
--config /config.toml \
|
|
--output /output/ \
|
|
ghcr.io/humocs-man/fluffy-pancake:stable
|
|
|
|
- name: Upload ISO artifact
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: installer-iso
|
|
# Wir suchen rekursiv nach jeder .iso Datei im output Ordner
|
|
path: output/**/*.iso
|
|
if-no-files-found: error
|