docker/Docker Setup Buildx
Set up Docker Buildx
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 9, 2026
- License
- Apache 2.0
Pinned Snippet
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| version | Buildx version. (eg. v0.3.0) | no | — |
| driver | Sets the builder driver to be used | no | docker-container |
| driver-opts | List of additional driver-specific options. (eg. image=moby/buildkit:master) | no | — |
| buildkitd-flags | BuildKit daemon flags | no | — |
| buildkitd-config | BuildKit daemon config file | no | — |
| buildkitd-config-inline | Inline BuildKit daemon config | no | — |
| use | Switch to this builder instance | no | true |
| name | Name 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 | — |
| endpoint | Optional address for docker socket or context from `docker context ls` | no | — |
| platforms | Fixed platforms for current node. If not empty, values take priority over the detected ones | no | — |
| append | Append additional nodes to the builder | no | — |
| keep-state | Keep BuildKit state on cleanup. This is only useful on persistent self-hosted runners. | no | false |
| cache-binary | Cache buildx binary to GitHub Actions cache backend | no | true |
| cleanup | Cleanup temp files and remove builder at the end of a job | no | true |
Outputs
| name | description |
|---|---|
| name | Builder name |
| driver | Builder driver |
| platforms | Builder node platforms (preferred or available) |
| nodes | Builder nodes metadata |
| endpoint | Builder node endpoint (deprecated, use nodes output instead) |
| status | Builder node status (deprecated, use nodes output instead) |
| flags | Builder node flags (deprecated, use nodes output instead) |