Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/build-installer-images.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build Installer Images

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 2" # run at 00:00 every Tuesday

jobs:
build-installer-images:
runs-on: ubuntu-24.04-arm
strategy:
# Continue with the remaining packages if one fails
fail-fast: false

matrix:
version: ["02", "3", "4", "5"]

steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-nix-action

- name: Build image for RPi ${{ matrix.version }}
run: nix --accept-flake-config build .#installerImages.rpi${{ matrix.version }} --out-link installer-image-rpi${{ matrix.version }}

- name: Upload artifact
uses: actions/upload-artifact@v7
with:
name: nixos-installer-image-rpi${{ matrix.version }}
path: installer-image-rpi${{ matrix.version }}/sd-image/*.img.zst
retention-days: 40
archive: false
compression-level: 0
if-no-files-found: error
include-hidden-files: false