chore(deploy): add backend ECR deployment flow #1
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary\n- Add production backend Docker build workflow for Gitea Actions.\n- Push backend image to AWS ECR with commit SHA and latest tags.\n- Add EC2 Docker Compose production deployment files and archive the Trellis CI/CD record.\n\n## Verification\n- docker compose --env-file ./deploy/.env -f deploy/docker-compose.prod.yml config\n- docker buildx build --provenance=false --load --file backend/Dockerfile --tag eryao-backend:commit-verify .\n- docker run smoke test: import app; print(app.app.title)\n- pre-commit hooks: backend ruff, basedpyright, pytest