From b828dcd15f6c31edbfadf729d9803c12b932d724 Mon Sep 17 00:00:00 2001 From: Vincent Mahnke Date: Fri, 26 Dec 2025 12:06:44 +0100 Subject: [PATCH] feat: Adds build pipeline --- .github/workflows/kiosk-iso.yml | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/kiosk-iso.yml diff --git a/.github/workflows/kiosk-iso.yml b/.github/workflows/kiosk-iso.yml new file mode 100644 index 0000000..ec9154b --- /dev/null +++ b/.github/workflows/kiosk-iso.yml @@ -0,0 +1,43 @@ +name: Build NixOS Kiosk ISO + +on: + push: + branches: [ profile-install ] + workflow_dispatch: + +jobs: + flake-check: + runs-on: ubuntu-latest + container: + image: nixos/nix:2.33.0 + env: + NIX_CONFIG: extra-experimental-features = nix-command flakes + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Flake check + run: nix flake check -L + + build-iso: + runs-on: ubuntu-latest + needs: [ flake-check ] + container: + image: nixos/nix:2.33.0 + env: + NIX_CONFIG: extra-experimental-features = nix-command flakes + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build ISO + run: | + nix --version + nix build .#iso -L --system x86_64-linux + ls -la result + mkdir -p artifacts + cp -v result/iso/*.iso artifacts/ + - name: Upload ISO artifact + uses: actions/upload-artifact@v4 + with: + name: kiosk-iso + path: artifacts/*.iso + if-no-files-found: error