mirror of
https://github.com/ghndrx/github-actions-library.git
synced 2026-02-10 06:45:02 +00:00
feat: initial github actions library structure
This commit is contained in:
50
README.md
Normal file
50
README.md
Normal file
@@ -0,0 +1,50 @@
|
||||
# GitHub Actions Library
|
||||
|
||||

|
||||

|
||||
|
||||
Reusable GitHub Actions workflows and composite actions for CI/CD pipelines.
|
||||
|
||||
## Workflows
|
||||
|
||||
```
|
||||
.github/workflows/
|
||||
├── docker-build.yml # Build, scan, and push Docker images
|
||||
├── terraform-plan.yml # Terraform plan with cost estimation
|
||||
├── k8s-deploy.yml # Kubernetes deployment with ArgoCD
|
||||
├── security-scan.yml # SAST, DAST, dependency scanning
|
||||
└── release.yml # Semantic release automation
|
||||
```
|
||||
|
||||
## Composite Actions
|
||||
|
||||
```
|
||||
actions/
|
||||
├── docker-build/ # Multi-arch Docker build
|
||||
├── terraform-plan/ # Terraform plan with PR comments
|
||||
├── k8s-deploy/ # Kubernetes deployment
|
||||
└── security-scan/ # Trivy, Grype, CodeQL
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```yaml
|
||||
jobs:
|
||||
build:
|
||||
uses: ghndrx/github-actions-library/.github/workflows/docker-build.yml@main
|
||||
with:
|
||||
image-name: myapp
|
||||
secrets: inherit
|
||||
```
|
||||
|
||||
## Features
|
||||
|
||||
- ✅ Reusable workflows (DRY)
|
||||
- ✅ Matrix builds
|
||||
- ✅ Security scanning built-in
|
||||
- ✅ Caching optimization
|
||||
- ✅ OIDC authentication (no long-lived secrets)
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
Reference in New Issue
Block a user