Skip to content

Conversation

@georgi-l95
Copy link
Member

@georgi-l95 georgi-l95 commented Oct 15, 2025

Summary by CodeRabbit

  • Chores

    • Standardized Docker image naming to always use a lowercase repository name during releases.
    • Unified image tagging to use generated version metadata for consistent tags across the release process.
  • Documentation

    • Updated release notes and Docker usage instructions to reflect the lowercase image name and correct version in pull/run examples.

@coderabbitai
Copy link

coderabbitai bot commented Oct 15, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Adds a step to lowercase the repository name and expose it as an output image_name, then updates subsequent Docker and release steps to use this output and the metadata-derived version instead of previous environment/tag references. Embedded release notes are adjusted accordingly.

Changes

Cohort / File(s) Summary
Release workflow adjustments
.github/workflows/release.yml
Introduces repo_lowercase step exposing outputs.image_name; replaces env.IMAGE_NAME usages with steps.repo_lowercase.outputs.image_name; switches tag source from github.event.release.tag_name to steps.meta.outputs.version across Docker create/pull and release asset instructions; updates release notes text to reflect new image name and version references.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Trigger as GitHub Release Event
  participant Workflow as release.yml
  participant Meta as metadata step
  participant Lower as repo_lowercase step
  participant Docker as Docker steps

  Trigger->>Workflow: Start workflow
  Workflow->>Meta: Generate version metadata
  Meta-->>Workflow: outputs.version

  Workflow->>Lower: Lowercase repo to image_name
  Lower-->>Workflow: outputs.image_name

  note over Workflow, Docker: Use outputs for all image references
  Workflow->>Docker: docker create/pull using image_name:version
  Docker-->>Workflow: Image operations complete

  Workflow->>Workflow: Render release notes using image_name + version
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • chore: improve release workflow #125 — Also modifies .github/workflows/release.yml to add repo_lowercase step, switch to steps.meta.outputs.version, and replace env.IMAGE_NAME usages; directly aligned with this change.

Poem

A bunny nibbles tags to size,
Lowercases names with careful eyes.
Hops from meta to the dock,
Version carrots set the clock.
Notes updated, steps in line—
Ship it clean, and ship it fine. 🥕🚀

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch improve-relese-workflow

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 84b60c8 and 028214f.

📒 Files selected for processing (1)
  • .github/workflows/release.yml (3 hunks)

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

@georgi-l95 georgi-l95 closed this Oct 15, 2025
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