Battle-tested, reusable GitHub Actions workflows and composite actions for DevOps pipelines.
Stop copy-pasting CI/CD YAML across repos. This toolkit provides production-ready, composable building blocks.
| Workflow | Trigger | What It Does |
|---|---|---|
docker-build-push.yml |
workflow_call |
Build, scan, and push Docker images to GHCR |
terraform-plan-apply.yml |
workflow_call |
Terraform fmt, validate, plan, apply |
k8s-deploy.yml |
workflow_call |
Deploy manifests to EKS/GKE with kubectl |
release.yml |
Tag push | Semantic release + changelog generation |
security-scan.yml |
PR + schedule | Trivy, CodeQL, dependency review |
| Action | Description |
|---|---|
setup-toolchain |
Install Terraform, kubectl, helm, aws-cli |
docker-metadata |
Generate image tags and labels |
slack-notify |
Send deployment notifications to Slack |
# .github/workflows/deploy.yml
jobs:
build:
uses: almightymoon/github-actions-toolkit/.github/workflows/docker-build-push.yml@main
with:
image-name: my-app
context: .
secrets: inheritjobs:
infra:
uses: almightymoon/github-actions-toolkit/.github/workflows/terraform-plan-apply.yml@main
with:
working-directory: environments/dev
terraform-version: "1.7.0"
secrets: inheritsteps:
- uses: almightymoon/github-actions-toolkit/actions/setup-toolchain@v1
with:
terraform: "1.7.0"
kubectl: "1.29.0"
helm: "3.14.0"- Composable — Mix and match workflows via
workflow_call - Secure — OIDC for cloud auth, no long-lived secrets
- Fast — Layer caching, matrix builds, concurrency groups
- Observable — Job summaries, PR comments with plan output
PRs welcome! See CONTRIBUTING.md.
MIT © almightymoon