-
Notifications
You must be signed in to change notification settings - Fork 0
chore: improve release workflow #125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: georgi-l95 <[email protected]>
WalkthroughAdds a step in the release workflow to derive a lowercase image name from the repository and expose it as an output. Replaces references to env.IMAGE_NAME with the new step output in Docker pull/build/push commands for multi-arch images, while keeping the original env variable declared. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Developer
participant GH as GitHub Actions Runner
participant RL as repo_lowercase Step
participant DK as Docker CLI
participant REG as Docker Registry
Dev->>GH: Trigger release workflow
GH->>RL: Run step to compute lowercase repo name
RL-->>GH: Output image_name (lowercase)
note over RL,GH: New output: steps.repo_lowercase.outputs.image_name
GH->>DK: docker pull ${image_name}:<tag>
DK-->>REG: Request image
REG-->>DK: Image layers (if any)
DK-->>GH: Pull result
GH->>DK: docker buildx build --platform amd64,arm64 -t ${image_name}:<tag> --push
DK->>REG: Push multi-arch image manifests/layers
REG-->>DK: Acknowledge push
DK-->>GH: Build & push complete
GH->>DK: docker pull ${image_name}:latest (optional/if used)
DK-->>GH: Pull result
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #125 +/- ##
==========================================
- Coverage 79.90% 79.82% -0.08%
==========================================
Files 56 56
Lines 10493 10504 +11
==========================================
+ Hits 8384 8385 +1
- Misses 2109 2119 +10 🚀 New features to boost your workflow:
|
Summary by CodeRabbit