Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support snapcraft --destructive-mode #69

Open
jonathanudd opened this issue Dec 1, 2023 · 1 comment
Open

Support snapcraft --destructive-mode #69

jonathanudd opened this issue Dec 1, 2023 · 1 comment

Comments

@jonathanudd
Copy link

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?

@jhenstridge
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants