How to set up a new repository
This guide shows you how to set up a new repository for building custom images based on blue-build/template, which provides a minimal example configuration along with GitHub Actions to build your image and a netinstall ISO of it. Updates to BlueBuild in your repository will be handled by the Pull and Dependabot apps, which are set up in the template.
Automatic setup using the BlueBuild Workshop
The automatic setup will apply some default configuration and set up cosign for you.
The Workshop is a currently work-in-progress part of BlueBuild that allows managing custom image repositories using a web interface. Report issues in the GitHub repository: blue-build/workshop.
- Open https://workshop.blue-build.org/.
- Press “Log in with GitHub”.
- Press “New custom image repository”.
- Choose a name for your repository and press “Create repository”.
- This name should not contain spaces, slashes, or other special non-ascii characters. Using a dash (
-
) for delimitating words is recommended.
- This name should not contain spaces, slashes, or other special non-ascii characters. Using a dash (
- When prompted with setting up container signing, it is recommended to do it automatically.
- If you have security concerns, skipping is an option too. Read more about this in the wizard.
- After that step is completed, you’re done! You can now clone your repository, open
recipes/recipe.yml
and start customizing! The reference section of the documentation is your friend here.
Manual setup with git and cosign
The manual setup is useful if the other methods aren’t working correctly or if you want to learn what they do. This approach requires git
and either cosign
or skopeo
, so make sure the necessary programs are installed before proceeding.
- Open blue-build/template.
- Press “Use this template” and create a new repository.
- Set up container signing, then come back to this guide.
- Change the
name:
inrecipes/recipe.yml
and commit your changes. You can also apply some initial customizations here. - Open the Actions tab of your repository and make sure GitHub Actions are enabled.
- Change all references to
blue-build/template
in theREADME.md
to the details of your repository or custom image and commit your changes. You should also change the title and the short description below it so that people stumbling on your repository know what they are looking at. - You’re done! You can now open
recipes/recipe.yml
and start customizing! The reference section of the documentation is your friend here.