GitHub Actions automatiza build, test e deploy de containers Docker. Pipeline completo: build → test → scan → push → deploy.
Carregando
GitHub Actions automatiza build, test e deploy de containers Docker. Pipeline completo: build → test → scan → push → deploy.
GitHub Actions automatiza build, test e deploy de containers Docker. Pipeline completo: build → test → scan → push → deploy.
Workflows YAML em .github/workflows/. Triggered por push, PR, schedule. Jobs rodam em runners (Linux/Mac/Windows).
Builder moderno. Multi-platform (amd64, arm64). Cache layers. BuildKit features. GitHub Actions cache integration.
Docker Hub, GHCR, ECR, GCR. Login via secrets. Tag com commit SHA e latest. Semantic versioning.
Trivy, Snyk em pipeline. Bloqueia deploy se critical CVEs. Scan antes de push para registry.
• Tag com commit SHA para rastreabilidade
• Cache GitHub Actions para layers
• Scan de segurança obrigatório
• Deploy staging antes de prod
• Rollback automático em falha
• Secrets no código (use GitHub secrets)
• latest tag sem versão específica
• Não testar antes de push
• Build toda vez do zero (sem cache)
Quando usar cada um