mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-07 05:47:53 +00:00
chore: move customization section to the docs (#58)
This commit is contained in:
21
README.md
21
README.md
@@ -74,23 +74,6 @@ These images are signed with sisgstore's [cosign](https://docs.sigstore.dev/cosi
|
|||||||
|
|
||||||
If you're forking this repo you should [read the docs](https://docs.github.com/en/actions/security-guides/encrypted-secrets) on keeping secrets in github. You need to [generate a new keypair](https://docs.sigstore.dev/cosign/overview/) with cosign. The public key can be in your public repo (your users need it to check the signatures), and you can paste the private key in Settings -> Secrets -> Actions.
|
If you're forking this repo you should [read the docs](https://docs.github.com/en/actions/security-guides/encrypted-secrets) on keeping secrets in github. You need to [generate a new keypair](https://docs.sigstore.dev/cosign/overview/) with cosign. The public key can be in your public repo (your users need it to check the signatures), and you can paste the private key in Settings -> Secrets -> Actions.
|
||||||
|
|
||||||
# Making your Own
|
## Making your own
|
||||||
|
|
||||||
1. Clone this repo
|
See [the documentation](https://ublue.it/making-your-own/) on how to clone and use this repo foor your own projects.
|
||||||
1. Ensure your [GitHub Actions](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository) and [GitHub Packages](https://docs.github.com/en/packages) are set up and enabled
|
|
||||||
1. Change the [image name in the action](https://github.com/ublue-os/base/blob/aab8078cfdc7d2354e057a0ca4771d3a53d2df4c/.github/workflows/build.yml#L14) to match what you want to call your image
|
|
||||||
- Changing it to `IMAGE_NAME: beagles` will name the final image: `ghcr.io/yourusername/beagles` - so you'll likely want that to be your cool name instead of `base`
|
|
||||||
1. Generate a keypair
|
|
||||||
- Install the [cosign CLI tool](https://edu.chainguard.dev/open-source/sigstore/cosign/how-to-install-cosign/)
|
|
||||||
- Run `cosign generate-key-pair`
|
|
||||||
- In your repository settings, under Secrets and Variables -> Actions
|
|
||||||
- Create a new secret:
|
|
||||||

|
|
||||||
- Call it `SIGNING_SECRET` and then paste the contents of `cosign.key` into the field and save it. Be careful to make sure it's the .key file and not the .pub file. It should look like this:
|
|
||||||

|
|
||||||
- Copy the `cosign.pub` key into the root of your repository, replacing the key you got from here.
|
|
||||||
- Copy the instructions from the verification section of this readme and make adjustments to your container url. This part is important, users must have a method of verifying the image. The linux desktop must not lag behind in cloud when it comes to supply chain security, so we're starting right from the start! (Seriously don't skip this part)
|
|
||||||
1. Start making modifications to your Containerfile!
|
|
||||||
- Change a few things and keep an eye on your Actions and Packages section of your repo, you'll generate a new image one every merge and additionally every day.
|
|
||||||
- Follow the instructions at the top of this repo but this time with the `ghcr.io/yourusername/beagles` url and then you'll be good to go!
|
|
||||||
- Hang out in the [discussions forums](https://github.com/orgs/ublue-os/discussions) with others to share tips and get help, enjoy!
|
|
||||||
|
|||||||
Reference in New Issue
Block a user