From 6d724f415b2dbc2fa3b389ea3839daf9e587de4c Mon Sep 17 00:00:00 2001 From: Philip Peterson <1326208+philip-peterson@users.noreply.github.com> Date: Mon, 7 Sep 2026 02:15:09 -0800 Subject: [PATCH] Add github action --- .github/workflows/build-iso.yml | 35 +++++++++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 36 insertions(+) create mode 100644 .github/workflows/build-iso.yml diff --git a/.github/workflows/build-iso.yml b/.github/workflows/build-iso.yml new file mode 100644 index 0000000..4d9f6a3 --- /dev/null +++ b/.github/workflows/build-iso.yml @@ -0,0 +1,35 @@ +name: Build Guix ISO + +on: + workflow_dispatch: + +permissions: + contents: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Build and export the ISO + uses: dagger/dagger-for-github@v8 + with: + version: "0.20.6" + call: "build export --path=./out/guix-install-x86_64-linux.iso" + + - name: Publish ISO as a release asset + uses: softprops/action-gh-release@v2 + with: + tag_name: "iso-${{ github.run_number }}" + name: "Guix Install ISO (x86_64) — build ${{ github.run_number }}" + body: | + Reproducible Guix installation ISO, cross-built from the pinned + channel in `channels.scm`. + + - Target: x86_64-linux + - Build: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} + files: out/guix-install-x86_64-linux.iso + draft: false + prerelease: false diff --git a/.gitignore b/.gitignore index 773338b..dd664c2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /internal/querybuilder /internal/telemetry /.env +/out/