{"repo":"docker/bake-action","free":true,"listed":false,"github":"https://github.com/docker/bake-action","clone":"git clone https://github.com/docker/bake-action.git","description":"GitHub Action to use Docker Buildx Bake as a high-level build command","language":"TypeScript","stars":299,"topics":["docker","buildx","bake","github-actions","github-actions-docker"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"About GitHub Action to use Docker Buildx Bake as a high-level build command. Usage Git context Path context Summaries Customizing inputs outputs environment variables Subactions matrix Notes Source semantics Contributing Usage Git context Since v6 this action uses the Git context to build from a remote bake definition by default like the build-push-action does. This means that you don't need to use the actions/checkout action to check out the repository as BuildKit will do this directly. 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 source input alongside the actions/checkout action to remove this restriction. Default Git context can also be provided using the Handlebars template expression {{defaultContext}} . Here we can use it to provide a subdirectory to the default Git context: Building from the current repository automatically uses the GITHUB TOKEN secret that GitHub automatically creates for workflows, so you don't need to pass that manually. If you want to authenticate against another private repository for remote definitions, you can set the BUILDX BAKE GIT AUTH TOKEN environment variable. [!NOTE] Supported since Buildx 0.14.0 Path co","default_branch":null,"files":null,"tree":[],"storefront":"/r/docker","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/docker/bake-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."}