Open jonathanudd opened 9 months ago
The value add of this action is configuring the VM so that Snapcraft can perform the build in an LXD container. If you were going to do a --destructive-mode
build, you might be better off just calling Snapcraft directly.
With that said, LXD supports nested containers with appropriate configuration: https://ubuntu.com/blog/nested-containers-in-lxd -- that might let you use the action as is.
I'm currently using a self-hosted Github runner which runs inside a lxc container and I need to use the
--destructive-mode
argument for snapcraft. Is this something that could be supported by this action or I'm I better of installing snapcraft and running snapcraft with individual steps?