Use release tag for Docker image tag#113
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe workflow now dynamically selects container image tags based on trigger type: GitHub Release events use release tag names, manual workflow dispatches use provided input values, and other events use empty strings as default fallback values. ChangesRelease Event Tagging
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Pull request overview
Updates the CI build workflow so that on a GitHub release event, the release's Git tag name is passed as the Docker image-tag input to the reusable Docker build workflow. Previously the image-tag was only set for workflow_dispatch and defaulted to empty otherwise, leaving release builds to rely on the reusable workflow's fallback tag derivation. The change applies identically to the three image build jobs (operator, service, conversion-webhook).
Changes:
- For release events, set
image-tagtogithub.event.release.tag_name. - Preserve existing
workflow_dispatchbehavior usinginputs.image_tag. - Apply the same expression consistently across operator, service, and conversion-webhook jobs.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Pass the GitHub release tag explicitly to the reusable Docker build workflow so release builds publish images with the exact Git tag instead of relying on fallback tag derivation.
Summary by CodeRabbit