How subhransu-de/docker-bake works
Project type and purpose
• This is an example/demo project (from the README) illustrating how to use Docker Bake (a higher-level orchestration tool built on top of BuildKit) to produce multi-platform Docker images.
• It includes:
• A minimal Node.js application (index.js, package.json)
• Dockerfile (single‐stage/container definition)
• A Docker Bake configuration (docker-bake.hcl)
• A GitHub Actions CI/CD pipeline (.github/workflows/docker-bake-pipeline.yml) that builds and verifies multi-arch images.
File structure
• Top-level application files:
• index.js
• package.json, package-lock.json
• Container build files:
• Dockerfile
• docker-bake.hcl (defines Bake targets, platforms, contexts)
• CI/CD:
• .github/workflows/docker-bake-pipeline.yml
• Supporting files:
• .dockerignore, .gitignore
• docker-bake.hcl for high-level build orchestration
README for additional insights
• Confirms purpose: demo of Docker Bake multi-platform build
• Mentions CI/CD integration via GitHub Actions workflow