blue-build/BlueBuild

Build a custom OS image

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 6, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: blue-build/github-action@836161eb076426a451e6a0054f722b1153b8b3ad # v1.12.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
recipeThe [recipe](https://blue-build.org/reference/recipe/) file to build the image from, relative to the `config/` or `recipes/` directory. yesrecipe.yml
cosign_private_keyThe Sigstore/cosign secret used to sign the image. Example: `${{ secrets.SIGNING_SECRET }}` yes
pushWhether to push the image to a container registry. notrue
registry_tokenThe token used to sign into the container registry. Example: `${{ github.token }}` no""
registry_usernameThe username used to sign into the container registry. no${{ github.repository_owner }}
pr_event_numberThe event number used to tag images pushed from pull requests. Example: `${{ github.event.number }}` yes
maximize_build_spaceWhether to run the unwanted software remover to maximize build space in the GitHub builder. Disable this with 'false' if your image doesn't take up a lot of space and you'd rather have shorter build times. notrue
use_unstable_cliIf true, this action pulls the `main` branch of blue-build/cli instead of the stable version the current action version is configured to use by default. This feature is useful for testing new features, but should not be used in production. Input must match the string 'true' for the unstable version to be used. nofalse
cli_versionSet this with a tag, sha, or branch name for the blue-build/cli repo to use that particular version of the CLI tool. This will override the `use_unstable_cli` input for the action. no
registryThe container registry to push the built image to. noghcr.io
registry_namespaceThe namespace on the registry to push to. Example: `ublue-os` no${{ github.repository_owner }}
chunkahUses Chunkah to rechunk the image, allowing for smaller images and smaller updates. This will increase the build-time and take up more space during build-time. nofalse
build_chunked_ociUses `rpm-ostree compose build-chunked-oci` to rechunk the image, allowing for smaller images and smaller updates. This will increase the build-time and take up more space during build-time. nofalse
max_layersMaximum number of layers to use when rechunking with `build-chunked-oci`. no128
rechunkRechunk the ostree-based result images with [github.com/hhd-dev/rechunk](https://github.com/hhd-dev/rechunk) for more efficient diffs and updates. (lower image size, better download speed, better update resuming) Will make your builds considerably slower. This is an experimental option, as it can cause issues with file permissions in some scenarios, so enable on your own risk. *Warning*: This option will be deprecated in the future. nofalse
rechunk_clear_planDisregard previous build's layer plan when rechunking. nofalse
use_cacheMake use of layer cache by pushing the layers to the registry. Input must match the string 'true' for the step to be enabled. nofalse
retry_push_countThe number of times to retry pushing the image. no0
squashUses buildah to squash the build's layers into a single layer. Use of this option disables cache. Conflicts with adding `--build-driver` or `--squash` to the build opts. nofalse
build_optsProvide options to the call to the BlueBuild CLI build command. If you use this with the squash input set to true and provide either of the `--build-driver` or `--squash` flags an error will occur and the action will not run. no""
working_directoryChanges working directory for whole build. For example, setting this to `./abc/` would cause for the recipe to be read from `./abc/recipes/recipe.yml`. no./
skip_checkoutSet to true to skip doing the actions/checkout step. This allows you to checkout manually before calling bluebuild/github-action and to modify files (such as supplying build information to other scripts) before building. nofalse
verify_installSet to true verify the cosign signature for the Blue-Build cli nofalse

no outputs