{"repo":"BretFisher/docker-build-workflow","free":true,"listed":false,"github":"https://github.com/BretFisher/docker-build-workflow","clone":"git clone https://github.com/BretFisher/docker-build-workflow.git","description":"A Reusable Workflow of the Docker GitHub Actions","language":"Dockerfile","stars":54,"topics":["actions","containers","devops","docker","github-actions","workflow","workflow-reusable"],"license":"Unlicense","category":"deployment-docker-iac","readme_excerpt":"Template: Docker Build GitHub Actions Workflow A Reusable Workflow of the Docker GitHub Actions steps. Enhanced with learnings from production use. ⚠️ DO NOT call this workflow directly , rather, use it as a template repository and fork it for your own reusable workflow. I might change this workflow at anytime, based on new GHA features or learnings, and your calling workflow might break. ⚠️ Reasons to use this workflow 1. Easier to start with than hand-building all the Docker Actions into a single workflow. 2. Provides inline docs based on real-world usage of this workflow. 3. Gives you inputs so you can reuse this workflow across many repositories and only needing the full workflow stored in a central repository. 4. New in 2023: Adds SBOM and Provenance metadata to your images. 5. New in 2023: Example template to use the reusable workflow twice, in an \"image promotion\" style of dual registries (one for devs and PRs, one for production after PR merges) 6. New in 2025: An alternative reusable build workflow that uses native platform runners with BuildKit for arm64 + x86 64 rather than QEMU emulation Steps to adopt this workflow 1. Fork this repository and tweak the reusable workflow to your liking: .github/workflows/reusable-docker-build.yaml 2. Copy my \"calling\" workflow templates/call-docker-build.yaml to all the repositories you want to build images in and change it to point to the forked workflow above. \"But what does this workflow really do beyond just docker build ?\" 1.","default_branch":null,"files":null,"tree":[],"storefront":"/r/BretFisher","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BretFisher/docker-build-workflow/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."}