Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. GitHub Actions
  3. Set up Docker Buildx

Set up Docker Buildx

MITTypeScriptv3.3.1

GitHub Action to set up Docker Buildx for multi-platform image building in CI/CD workflows.

Visit WebsiteGitHubGitHub
224 stars14 forks0 contributors

What is Set up Docker Buildx?

ghaction-docker-buildx is a GitHub Action that sets up Docker Buildx in GitHub Actions workflows. It configures the BuildKit builder and QEMU emulation to enable building Docker images for multiple CPU architectures (like ARM, x86, PowerPC) directly within CI/CD pipelines. This solves the problem of creating cross-platform container images without maintaining separate build environments.

Target Audience

Developers and DevOps engineers using GitHub Actions for CI/CD who need to build Docker images for multiple platforms (e.g., Raspberry Pi, AWS Graviton, IBM Z) from a single workflow.

Value Proposition

It simplifies multi-architecture Docker builds in GitHub Actions by handling the complex setup of Buildx and QEMU automatically. Developers choose it because it's a focused, reliable action that integrates seamlessly with existing workflows and follows Docker best practices.

Overview

:octocat: GitHub Action to set up Docker Buildx

Use Cases

Best For

  • Building Docker images for multiple CPU architectures (ARM, x86, s390x) in CI/CD
  • Creating cross-platform container images for IoT devices and cloud servers
  • Optimizing Docker build times in GitHub Actions with BuildKit caching
  • Automating Docker image builds and pushes to DockerHub on tag events
  • Setting up reproducible build environments for open-source container projects
  • Leveraging GitHub Actions for continuous delivery of multi-arch container images

Not Ideal For

  • New projects requiring actively maintained GitHub Actions integrations
  • Workflows using non-Linux GitHub Actions runners (Windows or macOS)
  • Simple single-architecture builds where basic Docker build suffices
  • Teams already adopting Docker's official setup actions for long-term support

Pros & Cons

Pros

Multi-Platform Build Automation

Automates setup for Docker Buildx and QEMU to build images across architectures like ARM, x86, and s390x in one step, as shown in the quick start example.

BuildKit Efficiency

Integrates Docker BuildKit for faster builds with advanced caching and parallelization, supported by cache optimization examples in the README.

Registry Integration Ease

Seamlessly works with Docker login actions to build and push images to DockerHub, demonstrated in the build and push workflow.

Minimalist Configuration

Follows a plug-and-play philosophy with sensible defaults, reducing setup complexity for common use cases per the project's stated approach.

Cons

Archived and Unmaintained

Explicitly marked as archived with no future updates, forcing users to migrate to official Docker actions for ongoing support and bug fixes.

Limited OS Support

Only compatible with Linux virtual environments in GitHub Actions, restricting use in mixed-OS CI/CD pipelines, as noted in the limitation section.

Additional Setup Dependencies

Requires separate actions for QEMU and Docker login in workflows, adding complexity compared to all-in-one solutions or newer official tools.

Frequently Asked Questions

Quick Stats

Stars224
Forks14
Contributors0
Open Issues0
Last commit5 years ago
CreatedSince 2019

Tags

#actions#container-images#devops#continuous-integration#ci-cd#docker#github-actions#buildkit

Links & Resources

Website

Included in

GitHub Actions27.6k
Auto-fetched 18 hours ago

Related Projects

Update a Docker Hub repository description from README.mdUpdate a Docker Hub repository description from README.md

A GitHub action to update a Docker Hub repository description from README.md

Stars377
Forks52
Last commit23 days ago
Build And Push Your Docker Images Caching Each Stage To Reduce Build TimeBuild And Push Your Docker Images Caching Each Stage To Reduce Build Time

:octocat: Build and push docker images caching each stage to reduce build time

Stars351
Forks59
Last commit4 days ago
Monitor and limit your docker image sizeMonitor and limit your docker image size

:whale: Keep an eye on your docker image size and prevent it from growing too big

Stars133
Forks5
Last commit20 hours ago
Build and publish docker images to any registry using KanikoBuild and publish docker images to any registry using Kaniko

Build and push docker images using Kaniko and GitHub actions

Stars124
Forks54
Last commit2 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub