Skip to content

GitHub Actions automation examples with Docker's official actions

License

Notifications You must be signed in to change notification settings

Exyons/docker-ci-automation

 
 

Repository files navigation

Automation with Docker for CI 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 progressively more complex automation pipelines:

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

I also have a LIVE course on learning GitHub Actions for DevOps automation and Argo CD for GitOps-style deployments.

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 DevOps 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 🎉🎉🎉

About

GitHub Actions automation examples with Docker's official actions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 54.6%
  • Dockerfile 45.4%