Files
goodgo-platform/docs
Ho Ngoc Hai 20b79acf08 fix(deploy): tag rollback images before pull, prune after smoke test
Previously, `docker image prune` ran immediately after deploying new
containers, potentially deleting the old images needed for rollback
if smoke tests subsequently failed. Now the deploy pipeline:

1. Tags current images as :rollback before pulling new versions
2. Only runs `docker image prune` after smoke tests pass
3. Uses explicit :rollback tags for rollback instead of relying on
   Docker layer cache (which is fragile)

Applied to:
- scripts/deploy-production.sh (manual deploy script)
- .github/workflows/deploy.yml (staging + production CI jobs)
- docs/deployment.md (updated rollback documentation)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-15 11:17:32 +07:00
..

GoodGo Platform Documentation

Getting Started

Document Description
Development Environment Docker setup, local services, troubleshooting
Architecture System design, data flow, module structure

API Reference

Document Description
API Endpoints Complete REST API endpoint reference
API Error Codes Error response format and all error codes

Operations

Document Description
Deployment Production deployment guide and checklists
Backup & Restore Backup procedures and disaster recovery runbook

Audits

See audits/README.md for code quality, accessibility, and test coverage audit reports.