Skip to main content
The CLI scaffolds projects, manages chart dependencies, validates configuration, and generates build artifacts from build.yml metadata.

Commands

buildcharts generate

Generates build pipeline using metadata. Outputs a Docker bake file .buildcharts/docker-bake.hcl. It also validates Chart.yaml digests by comparing them to chart tags, runs plugins, and cleans the .buildcharts folder to keep a clean state.
option
Embed pulled Dockerfiles directly in .buildcharts/docker-bake.hcl
option
Skip Chart.lock validation even if the file exists
option
Enable extra plugin and generator logging by setting BUILDSCHARTS_VERBOSE=1
environment
Override the Docker config directory used for registry auth
Example

buildcharts init

Scaffolds the working directory and automatically creates:
  • build.yml
  • charts/buildcharts/Chart.yaml
Example

buildcharts pull

Pulls a single OCI chart by tag or digest.
argument
required
OCI reference in the form registry/repo:tag or registry/repo@sha256:...
option
Extract the downloaded chart into the current directory
option
Extraction directory when --untar is set
option
Directory where the downloaded chart blob is stored
environment
Override the Docker config directory used for registry auth
Example

buildcharts summary

Exports summary artifacts from the latest Docker Buildx history.
environment
When set, summary appends the generated Markdown summary to this file (GitHub Actions).
environment
When set, summary also writes Azure DevOps-oriented outputs (artifacts and job summary metadata).
Example

buildcharts update

Resolves chart dependency digests from charts/buildcharts/Chart.yaml and refreshes the lock file.
environment
Override the Docker config directory used for registry auth
Example

buildcharts version

buildcharts version prints tool and runtime version details. buildcharts --version prints the short root-command version output. Example
Last modified on June 2, 2026