-
Notifications
You must be signed in to change notification settings - Fork 10
[DRAFT] Add build workflow #13
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
base: kernel-and-docker
Are you sure you want to change the base?
Conversation
FYI, i know of two projects that have working ci piplines for mkosi builds, might help looking at them and getting inspired/having the code in your llm context: https://github.com/edgelesssys/constellation/blob/main/.github/workflows/build-os-image.yml also, interestingly, cloud-api-adapter uses container registries to store built images and metadata. they use this tool: https://oras.land/ |
echo 'kernel.unprivileged_userns_clone=1' | sudo tee -a /etc/sysctl.conf | ||
sudo sysctl -p |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the container is ephemeral anyway, it'll be easier to just set sysctl in runtime:
echo 'kernel.unprivileged_userns_clone=1' | sudo tee -a /etc/sysctl.conf | |
sudo sysctl -p | |
sudo sysctl kernel.unprivileged_userns_clone=1 |
13fcc15
to
0573d61
Compare
This PR introduces a GitHub Actions workflow to automate the building of mkosi images using Nix in a CI environment.
The workflow builds the tdx-dummy.conf configuration as a test case for now.
I setup
nix
directly in the GitHub action for now, while we wait to finalize the Docker builder.Features