docker/Docker Buildx Bake

GitHub Action to use Docker Buildx Bake as a high-level build command

View on GitHub

Trust Signals

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

Pinned Snippet

workflow.ymlSHA-pinned
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0

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

namedescriptionrequireddefault
builderBuilder instanceno
allowAllow build to access specified resources (e.g., network.host)no
callSet method for evaluating build (e.g., check)no
filesList of bake definition filesno
no-cacheDo not use cache when building the imagenofalse
pullAlways attempt to pull a newer version of the imagenofalse
loadLoad is a shorthand for --set=*.output=type=dockernofalse
provenanceProvenance is a shorthand for --set=*.attest=type=provenanceno
pushPush is a shorthand for --set=*.output=type=registrynofalse
sbomSBOM is a shorthand for --set=*.attest=type=sbomno
setList of targets values to override (eg. targetpattern.key=value)no
sourceContext to build from. Can be either local to specify the working directory or a remote bake definitionno
targetsList of bake targetsno
varsVariables to set in the Bake definition as list of key-value pairno
github-tokenAPI token used to authenticate to a Git repository for remote definitionsno${{ github.token }}
namedescription
metadataBuild result metadata