Skip to content

ci: Lowercase IMAGE_NAME for OCI registry#19

Merged
cgwalters merged 1 commit into
LobsterTrap:mainfrom
cgwalters:lowercase-image
Apr 13, 2026
Merged

ci: Lowercase IMAGE_NAME for OCI registry#19
cgwalters merged 1 commit into
LobsterTrap:mainfrom
cgwalters:lowercase-image

Conversation

@cgwalters

@cgwalters cgwalters commented Apr 13, 2026

Copy link
Copy Markdown
Collaborator

github.repository preserves the org casing (e.g. LobsterTrap/...) but OCI registry references require lowercase. Use bash parameter expansion to lowercase GITHUB_REPOSITORY at the start of each job.

Assisted-by: OpenCode (Claude Opus 4)

Summary by CodeRabbit

  • Chores
    • Updated container image naming convention in the build workflow to ensure consistent formatting across deployment processes.

github.repository preserves the org casing (e.g. LobsterTrap/...) but
OCI registry references require lowercase. Use bash parameter expansion
to lowercase GITHUB_REPOSITORY at the start of each job.

Assisted-by: OpenCode (Claude Opus 4)
@cgwalters cgwalters enabled auto-merge April 13, 2026 00:13
@coderabbitai

coderabbitai Bot commented Apr 13, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f296e5eb-a440-4a7f-a800-2ac13a67fbe9

📥 Commits

Reviewing files that changed from the base of the PR and between dfe93ea and f410bf3.

📒 Files selected for processing (1)
  • .github/workflows/build-container.yml

📝 Walkthrough

Walkthrough

Removed the top-level IMAGE_NAME environment variable assignment and instead compute it per job by lowercasing GITHUB_REPOSITORY using bash parameter expansion (${GITHUB_REPOSITORY,,}), persisting the value to the job environment for use in downstream steps.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow Configuration
.github/workflows/build-container.yml
Moved IMAGE_NAME variable computation from global env to individual job steps, applying lowercase transformation via ${GITHUB_REPOSITORY,,} in build-and-test, push, and manifest jobs to ensure Docker image names comply with lowercase naming requirements.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~4 minutes

Poem

🐰 In workflows where names run wild and free,
We lowercase repos for Docker's decree,
From uppercase chaos to lowercase cheer,
${GITHUB_REPOSITORY,,} keeps registries clear!
Hop, hop, the container builds right! 🐇

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: lowercasing IMAGE_NAME for OCI registry compatibility.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@cgwalters cgwalters merged commit cb08042 into LobsterTrap:main Apr 13, 2026
2 checks passed
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.

1 participant