ci(nightly): fall back to rhdh-hub-rhel9 when next-1.y tag expires#443
Conversation
The next-1.y tags on quay.io/rhdh-community/rhdh can expire, causing the nightly workflow to fail for older release branches. Use skopeo to check if the tag exists at runtime. If it has expired, fall back to quay.io/rhdh/rhdh-hub-rhel9:1.y instead.
rhdh-hub-rhel9 when next-1.y tag expires
PR Summary by QodoFix nightly CI by falling back when Description
Diagram
High-Level Assessment
Files changed (1)
|
|
Code Review by Qodo
1. Redundant registry checks
|



Description of the change
The
next-1.ytags onquay.io/rhdh-community/rhdhcan expire (e.g.,next-1.8is already gone), causing the nightly workflow to fail for older release branches.This updates the nightly workflow to use
skopeo inspectat runtime to check whethernext-1.ystill exists. If the tag has expired, it falls back toquay.io/rhdh/rhdh-hub-rhel9:1.yinstead.This is a general-purpose fix — future tag expirations will be handled automatically without workflow edits.
Which issue(s) does this PR fix or relate to
https://github.com/redhat-developer/rhdh-chart/actions/runs/27792983781/job/82246295904#step:6:3711
How to test changes / Special notes to the reviewer
—
Checklist
Chart.yamlaccording to Semantic Versioning.values.yamland added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Runpre-commit run --all-filesto run the hooks and then push any resulting changes. The pre-commit Workflow will enforce this and warn you if needed.pre-commithook.ct lintcommand.