/allhands22

GitHub Actions automation examples with Docker

Primary LanguageShellThe UnlicenseUnlicense

Automation with Docker for CI/CD Workflows

Lint Code Base

For Docker Community All Hands 2022

All-Hands Automation with Docker

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:

  1. Basic code PR automation workflow
  2. Intermediate code PR automation workflow
  3. Advanced code PR automation workflow

Example Workflows

  1. Basic Docker build
  2. Adding BuildKit cache
  3. Adding multi-platform builds
  4. Adding metadata to images
  5. Adding comments with image tags to PRs
  6. Adding CVE scanning
  7. Adding CVE security reporting
  8. Adding unit testing
  9. Adding integration testing
  10. Adding Kubernetes smoke tests
  11. Adding job parallelizing for mucho speed

GitHub Actions shown in these examples

This repository is part of my example repos on GitHub Actions

More reading

Docker Build/Push Action advanced examples My full list of container examples and tools

🎉🎉🎉 Join my container DevOps community 🎉🎉🎉