docker/Docker Setup Buildx

Set up Docker Buildx

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/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0

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

namedescriptionrequireddefault
versionBuildx version. (eg. v0.3.0)no
driverSets the builder driver to be usednodocker-container
driver-optsList of additional driver-specific options. (eg. image=moby/buildkit:master)no
buildkitd-flagsBuildKit daemon flagsno
buildkitd-configBuildKit daemon config fileno
buildkitd-config-inlineInline BuildKit daemon configno
useSwitch to this builder instancenotrue
nameName of the builder. If not specified, one will be generated or if it already exists, it will be used instead of creating a new one.no
endpointOptional address for docker socket or context from `docker context ls`no
platformsFixed platforms for current node. If not empty, values take priority over the detected onesno
appendAppend additional nodes to the builderno
keep-stateKeep BuildKit state on cleanup. This is only useful on persistent self-hosted runners.nofalse
cache-binaryCache buildx binary to GitHub Actions cache backendnotrue
cleanupCleanup temp files and remove builder at the end of a jobnotrue
namedescription
nameBuilder name
driverBuilder driver
platformsBuilder node platforms (preferred or available)
nodesBuilder nodes metadata
endpointBuilder node endpoint (deprecated, use nodes output instead)
statusBuilder node status (deprecated, use nodes output instead)
flagsBuilder node flags (deprecated, use nodes output instead)