Files
claude-hub/docs
Jonathan 7ee3be8423 feat: optimize Docker CI/CD with self-hosted runners and multi-stage builds
- Add self-hosted runner support with automatic fallback to GitHub-hosted
- Implement multi-stage Dockerfile (builder, test, prod-deps, production)
- Add container-based test execution with docker-compose.test.yml
- Enhance caching strategies (GHA cache, registry cache, inline cache)
- Create unified docker-build.yml workflow for both PR and main builds
- Add PR-specific tags and testing without publishing
- Optimize .dockerignore for faster build context
- Add test:docker commands for local container testing
- Document all optimizations in docs/docker-optimization.md

Key improvements:
- Faster builds with better layer caching
- Parallel stage execution for independent build steps
- Tests run in containers for consistency
- Smaller production images (no dev dependencies)
- Security scanning integrated (Trivy)
- Self-hosted runners for main branch, GitHub-hosted for PRs

Breaking changes:
- Removed docker-publish.yml (replaced by docker-build.yml)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-29 13:11:22 -05:00
..
2025-05-20 17:01:59 +00:00
2025-05-20 17:01:59 +00:00
2025-05-21 00:05:39 +00:00
2025-05-20 17:01:59 +00:00
2025-05-21 00:05:39 +00:00
2025-05-20 17:01:59 +00:00
2025-05-21 00:05:39 +00:00