I use NixOS on my self-hosted CI runners, and I generate the OCI image using Nix via pkgs.dockerTools:
https://git.shine.town/infra/runners/src/branch/main/nix/nix...
It has nothing to do with Docker as such, it's just named that.
https://nix.dev/tutorials/nixos/building-and-running-docker-...
Guess I need to try out dockerTools. That looks really convenient. Thanks!
Guess I need to try out dockerTools. That looks really convenient. Thanks!