For Docker Community All Hands 2022
Watch the walkthrough of this repo: https://www.youtube.com/watch?v=aZzV6X7XhyI
See this repositories .github/workflows
directory for the below example workflows, ordered by number, simple to complex.
These examples are focused on five of Docker's official GitHub Actions.
These examples are based on three workflow diagrams on progressivly more complex automation pipelines:
- Basic code PR automation workflow
- Intermediate code PR automation workflow
- Advanced code PR automation workflow
- Basic Docker build
- Adding BuildKit cache
- Adding multi-platform builds
- Adding metadata to images
- Adding comments with image tags to PRs
- Adding CVE scanning
- Adding CVE security reporting
- Adding unit testing
- Adding integration testing
- Adding Kubernetes smoke tests
- Adding job parallelizing for mucho speed
- Docker Login
- Docker Setup Buildx
- Docker Setup QEMU
- Docker Metadata
- Docker Build and Push
- Aqua Security Trivy CVE Scan
- Super-Linter
- Setup k3d
- Find Comment
- Create or Update Comment
- bretfisher/github-actions-templates - Main repository
- bretfisher/super-linter-workflow - Reusable linter workflow
- bretfisher/docker-build-workflow- Reusable docker build workflow
- (you are here) bretfisher/allhands22 - Step by step example of a Docker workflow
Docker Build/Push Action advanced examples My full list of container examples and tools