Skip to content

Conversation

@citrusinesis
Copy link
Contributor

@citrusinesis citrusinesis commented Sep 19, 2025

Summary by CodeRabbit

  • New Features

    • Official Docker image now published to GitHub Container Registry (ghcr.io/inevitable/crest).
    • Versioned tags for releases and pre-release builds (semver and commit-based) enable reliable pinning and testing.
    • Standardized image metadata/labels included.
  • Chores

    • Automated container image build and publish on pushes, tags, and pull requests to main, improving distribution and deployment workflows.

@citrusinesis citrusinesis self-assigned this Sep 19, 2025
@coderabbitai
Copy link

coderabbitai bot commented Sep 19, 2025

Walkthrough

Adds a new GitHub Actions workflow that builds and publishes a Docker image to GitHub Container Registry for pushes to main, tags matching v*, and pull requests to main. It logs in to ghcr.io, generates tags/labels via metadata, and builds/pushes using docker/build-push-action.

Changes

Cohort / File(s) Summary
CI/CD: Docker image publishing workflow
.github/workflows/upload-image.yml
Introduces a workflow that authenticates to ghcr.io, computes image tags/labels, and builds/pushes Docker images for main, PRs, and v* tags using Docker metadata and build-push actions.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Dev as Developer
  participant GH as GitHub Actions
  participant CO as actions/checkout@v5
  participant DL as docker/login-action@v3
  participant DM as docker/metadata-action@v5
  participant BP as docker/build-push-action@v6
  participant REG as ghcr.io

  Dev->>GH: Push to main / Tag v* / PR to main
  GH->>CO: Checkout repository
  CO-->>GH: Source code
  GH->>DL: Login to ghcr.io (GITHUB_TOKEN)
  DL-->>GH: Auth session
  GH->>DM: Generate tags & labels (branch/PR/semver/SHA)
  DM-->>GH: tags[], labels{}
  GH->>BP: Build & push image (tags, labels)
  BP->>REG: Push image layers & manifests
  REG-->>BP: Acknowledge publish
  BP-->>GH: Build & push complete
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I thump my paws by the CI light,
New tags hop out—what a sight!
Main, PR, and v-stars too,
Docker dreams in ghcr blue.
With labels neat and pushes swift,
Our image burrows—perfect lift! 🐇🚀


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Free

📥 Commits

Reviewing files that changed from the base of the PR and between b120fb3 and 2c342cf.

📒 Files selected for processing (1)
  • .github/workflows/upload-image.yml (1 hunks)

Tip

👮 Agentic pre-merge checks are now available in preview!

Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.

  • Built-in checks – Quickly apply ready-made checks to enforce title conventions, require pull request descriptions that follow templates, validate linked issues for compliance, and more.
  • Custom agentic checks – Define your own rules using CodeRabbit’s advanced agentic capabilities to enforce organization-specific policies and workflows. For example, you can instruct CodeRabbit’s agent to verify that API documentation is updated whenever API schema files are modified in a PR. Note: Upto 5 custom checks are currently allowed during the preview period. Pricing for this feature will be announced in a few weeks.

Please see the documentation for more information.

Example:

reviews:
  pre_merge_checks:
    custom_checks:
      - name: "Undocumented Breaking Changes"
        mode: "warning"
        instructions: |
          Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).

Please share your feedback with us on this Discord post.


Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login.

Comment @coderabbitai help to get the list of available commands and usage tips.

@citrusinesis
Copy link
Contributor Author

Railway 세팅하려고 이미지 업로드 하는거라 일단 병합해볼게용

@citrusinesis citrusinesis merged commit 63c6edb into main Sep 19, 2025
3 of 4 checks passed
@citrusinesis citrusinesis deleted the citrus/image-action branch September 19, 2025 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants