Yes. The issue is that its spawning the lxd environment on a tiny little running in some cloud, which is not really possible for us (build times and costs are way to high). I can’t see how we can use this on a private runner?
We would love to see that. The use case it that a user can super-quickly spawn a “prebaked” image with a build environment and use that within a private github/github runner - effectively speeding up build-times with factors. Having it support Incus beside lxd would also be great!
I misunderstood. I thought you were bringing your own runners and wanted something that plugged into the Github Actions ecosystem without rolling your own action.
That’s correct, but I don’t want to be forced to roll up a lxd host on whatever machine that is hosting the runner which is what the above action does?
If the current github-action could then be perhaps modified to allow to specify enough information to connect to a lxd-remote with credentials.
We could then have a tiny lxc container, running a github or gitlab runner which would be active at all times running the above thing for building snaps pretty much on demand with little resources needed for snaps to by built on the much more powerful lxd remote.