{"repo":"docker/build-push-action","free":true,"listed":false,"github":"https://github.com/docker/build-push-action","clone":"git clone https://github.com/docker/build-push-action.git","description":"GitHub Action to build and push Docker images with Buildx","language":"TypeScript","stars":5372,"topics":["buildx","github-actions","github-actions-docker","docker","dockerhub"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"About GitHub Action to build and push Docker images with Buildx with full support of the features provided by Moby BuildKit builder toolkit. This includes multi-platform build, secrets, remote cache, etc. and different builder deployment/namespacing options. Usage Git context Path context Examples Summaries Customizing inputs outputs environment variables Troubleshooting Contributing Usage In the examples below we are also using 3 other actions: setup-buildx action will create and boot a builder using by default the docker-container driver. This is not required but recommended using it to be able to build multi-platform images, export cache, etc. setup-qemu action can be useful if you want to add emulation support with QEMU to be able to build against more platforms. login action will take care to log in against a Docker registry. Git context By default, this action uses the Git context, so you don't need to use the actions/checkout action to check out the repository as this will be done directly by BuildKit. The git reference will be based on the event that triggered your workflow and will result in the following context: https://github.com/ / .git# . Be careful because any file mutation in the steps that precede the build step will be ignored, including processing of the .dockerignore file since the context is based on the Git reference. However, you can use the Path context using the context input alongside the actions/checkout action to remove this restriction. Default Gi","default_branch":null,"files":null,"tree":[],"storefront":"/r/docker","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/docker/build-push-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}