--- description: DevOps patterns for Docker and GitHub Actions for [PROJECT_NAME] globs: - "Dockerfile" - "docker-compose*.yml" - ".github/workflows/**/*.yml" - ".github/actions/**/*" alwaysApply: false --- # DevOps Skill (Docker + GitHub Actions) > Project: [PROJECT_NAME] > Stack: Docker, GitHub Actions > Generated: [DATE] ## Quick Reference ### Docker - Multi-stage builds for smaller images - Use .dockerignore - Don't run as root - Pin base image versions ### GitHub Actions - Use reusable workflows - Cache dependencies - Use environment secrets - Matrix builds for multiple versions ## Available Modules | Module | File | Use When | |--------|------|----------| | Docker Patterns | docker.md | Containerization | | CI/CD Pipelines | ci-cd.md | GitHub Actions | | Dos and Don'ts | dos-and-donts.md | Project learnings | ## Project Context ### Tech Stack - **Container Runtime:** [CONTAINER_RUNTIME] - **CI/CD:** [CI_CD_PLATFORM] - **Cloud Provider:** [CLOUD_PROVIDER] - **Registry:** [CONTAINER_REGISTRY] ### Infrastructure Patterns **Deployment Strategy:** [DEPLOYMENT_STRATEGY] **Environment Management:** [ENVIRONMENT_MANAGEMENT] **Secrets Management:** [SECRETS_MANAGEMENT] ### Project Structure ``` [INFRA_STRUCTURE] ``` --- ## Self-Learning → Füge Erkenntnisse zu `dos-and-donts.md` hinzu.