feat: move to github docker registry#398
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThe changes update Docker image build and publishing processes in GitHub Actions workflows and the build script. Environment variables for Docker registry and username are now required and explicitly set. Docker images are built and pushed to GitHub Container Registry (GHCR) using these variables, with stricter validation and updated tagging conventions. The master workflow now delegates build and push logic to a reusable workflow, and a new release workflow triggers this reusable workflow on release creation. Additionally, cursor rules were altered to apply unconditionally and forbid summaries. Changes
Sequence Diagram(s)sequenceDiagram
participant GitHub Actions
participant Node.js Environment
participant Docker CLI
participant GHCR
GitHub Actions->>Node.js Environment: Setup Node.js 22
Node.js Environment->>GitHub Actions: Ready
GitHub Actions->>Docker CLI: Set DOCKER_REGISTRY & DOCKER_USERNAME env vars
GitHub Actions->>Docker CLI: Run npm build script to build Docker image
GitHub Actions->>Docker CLI: Login to GHCR using GitHub token
Docker CLI->>GHCR: Authenticate and push image tags
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (6)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
2d26079 to
9c91fa6
Compare
9c91fa6 to
3ac9536
Compare
Summary by CodeRabbit