ci: Add GitHub Action to build installer images#196
Conversation
0c5c2cc to
41515cf
Compare
Requested changes have been applied, thanks! Workflow shows artifact was successfully built too 🎉 And latest force push should have squashed changes into one coherent commit, please do let me know if I missed anything Side note; |
|
Looks good, thank you! That was very fast:)
Oh, no! Sorry, I will fix that, thanks for letting me know. |
Super, and welcome as always!... ya had really good timing ;-)
No worries, or hurries, it doesn't hurt too many things too bad Edit: one thing I was thinking, while doing other things, is I believe there's an option to overwrite preexisting artifacts. Given that |
Much thanks be to @faddat on providing hints via PR #24
For next 90-ish days it should be possible to check, and download, artifact image built for RPi v5 via actions
Between that test, and this here message, I've re-enabled all variants within the related action's
matrix.versionslist/array, and added additional options to theactions/upload-artifact@v7that should reduce upload/download file sizeTomorrow, if I've time, I'll try flashing the built and downloaded installer image to a RPi5's SD cardTLDR: using GitHub Actions to build flash-able install images seems to totally work! SSH is recommended to preform initial configuration and
nixos-rebuildstuff, and remembering to not forget to enable networking management of some sort should make things relatively painless 🎉Edit 2026-06-09
Did manage to flash SD card with image built via GitHub Actions, and it booted 🎉
Getting flooded with, "... buffer size too small... ignored", sorts of warnings. Which makes setup sub-optimal on-device. So may try SSH tomorrow, if there's time, to finish configuration/installation
Edit 2026-06-10
Took a picture and transcribed previously described flood of ignored errors;
... These messages seem to stop after a rebuild and reboot, so I ain't gonna put too much time into investigating why/for(s)
Plus, SSH access was obtained and an
/etc/nixox/flake.nixwas written 🎉Notes for future readers;
./services/openssh/id_rsa.pubshould point to your own SSH public key, I usedscp ~/.ssh/id_rsa.pub root@192.168.0.68:/etc/nixos/services/openssh/id_rsa.pubfor thatnetworking.networkmanager.enable = true;and much of that configuration block is necessary for those that like to have easy internet access to remain easily accessed after reboot, don't ask me how I know this x-]nixos-raspberrypi.lib.inject-overlayscausingerror: infinite recursion encounteredis a might bit concerning, so here be what seems are relevant from stack-trace/error;softprops/action-gh-releaseGitHub Action might be worth investigating for doing what this Workflow does but for "Releases", which may or may not live longer than normal "Artifacts"