chore: add latest image tag for rhoai-2.24#11
chore: add latest image tag for rhoai-2.24#11jrichter1 wants to merge 1 commit intoopendatahub-io:mainfrom
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughAdds BRANCH environment variable in the GitHub Actions workflow, adjusts IMAGE_NAME to a base repository name, and updates the build-and-push step to publish two tags per build: one with the commit SHA and another with a branch-based "-latest" tag, handling both PR and push contexts. Changes
Sequence Diagram(s)sequenceDiagram
actor Dev as Developer/Repo Event
participant GH as GitHub Actions Workflow
participant Build as Build Step
participant Registry as Quay.io
Dev->>GH: Push or Pull Request
GH->>GH: Compute BRANCH = github.head_ref || github.ref_name
GH->>Build: Build container image (IMAGE_NAME base)
Build->>Build: Create tags: :<github.sha>, :<BRANCH>-latest
Build->>Registry: Push IMAGE_NAME:<github.sha>
Build->>Registry: Push IMAGE_NAME:<BRANCH>-latest
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate 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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
What does this PR do?
Adds ${branch}-latest tag to the image build for rhoai-v2.24 branch
Summary by CodeRabbit