fix(ci): gate Docker builds on all quality checks and fix prod image names
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

Build step now depends on lint, typecheck, test, and security-audit so
Docker images cannot be pushed when quality gates fail. Also corrects
docker-compose.prod.yml image names to match pipeline (stack-api, stack-web,
stack-postgres) and replaces hardcoded :latest with ${IMAGE_TAG:-latest}.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jason Woltje
2026-02-09 12:36:38 -06:00
parent 709499c167
commit e9392e719c
2 changed files with 6 additions and 5 deletions

View File

@@ -100,9 +100,10 @@ steps:
- *use_deps
- pnpm build
depends_on:
- typecheck # Only block on critical checks
- lint
- typecheck
- test
- security-audit
- prisma-generate
# ======================
# Docker Build & Push (main/develop only)