update-base-image
Installation
SKILL.md
Update base images (RHDH)
Discover latest tags from the registry, analyze Containerfiles, apply updates, and flag UBI version skew—without opening catalog.redhat.com.
Workspace layout
Consult ../rhdh/references/rhdh-repos.md for upstream URLs, descriptions, and base-image file paths (rhdh, rhdh-operator).
You need three local checkouts — often separate git clones on disk:
| Role | Env var | Repo (rhdh-repos) |
|---|---|---|
| Build scripts | RHDH_BUILD_SCRIPTS |
rhdh-downstream |
| App image | RHDH_REPO |
rhdh |
| Operator image | RHDH_OPERATOR_REPO |
rhdh-operator |
RHDH_BUILD_SCRIPTS must point at build/scripts/ in the downstream clone. -w targets the upstream repo root you scan and update (rhdh or rhdh-operator).
Set paths before running (adjust to your machine):