Open Chris2011 opened 1 year ago
I would like to build an NixOS image, with github actions for my RaspberryPi. When I use the code, that I got from here: https://github.com/Robertof/nixos-docker-sd-image-builder everything is fine and after somehow 25min it ends successfully (code 0): https://github.com/Chris2011/nixos-docker-image-builder/actions/runs/2952094775/jobs/4718626365#step:4:2234
The script checks the architecture, if it is x86, it will use QEMU to emulates it. This is exactly what happens. But I guess it will be much faster when I try native ARM image so I found your repo and I updated my workflows file: https://github.com/Chris2011/nixos-docker-image-builder/blob/dev/.github/workflows/build-nixos-arm.yml
Now, when I run the action on your image with alpine_latest aarch64 it will not run QEMU because it is native aarch64 which is what I want, the problem here is, after ~8min it is still green it ends "successfully (code 1)" but with this error: https://github.com/Chris2011/nixos-docker-image-builder/actions/runs/3039913885/jobs/4895382860#step:3:1580
So my feeling is, that there is smth misbehavior while using your image to build it.
@uraimo can I help you with more info, just tell me, what you need from me. Using your latest verison 2.3.0 will still fail with the same error.
I would like to build an NixOS image, with github actions for my RaspberryPi. When I use the code, that I got from here: https://github.com/Robertof/nixos-docker-sd-image-builder everything is fine and after somehow 25min it ends successfully (code 0): https://github.com/Chris2011/nixos-docker-image-builder/actions/runs/2952094775/jobs/4718626365#step:4:2234
The script checks the architecture, if it is x86, it will use QEMU to emulates it. This is exactly what happens. But I guess it will be much faster when I try native ARM image so I found your repo and I updated my workflows file: https://github.com/Chris2011/nixos-docker-image-builder/blob/dev/.github/workflows/build-nixos-arm.yml
Now, when I run the action on your image with alpine_latest aarch64 it will not run QEMU because it is native aarch64 which is what I want, the problem here is, after ~8min it is still green it ends "successfully (code 1)" but with this error: https://github.com/Chris2011/nixos-docker-image-builder/actions/runs/3039913885/jobs/4895382860#step:3:1580
So my feeling is, that there is smth misbehavior while using your image to build it.