PLT-1261: migrate base image to ECR Public - #760
Open
ymengesha wants to merge 3 commits into
Open
Conversation
Point the eclipse-temurin base image (the base layer of the published mqtt-cli OCI image) at the security-patched image published to ECR Public by hivemq/images (PLT-941) instead of Docker Hub. - oci.versions.toml: image -> public.ecr.aws/y7j2u9c5/base-images/eclipse-temurin at the current ECR Public 21-jre-noble digest; Renovate keeps it fresh. - build.gradle.kts: declare the ECR Public registry from the catalog accessors. Anonymous pulls, no credentials. - libs.versions.toml: gradle-oci 0.27.0 -> 0.28.0 (SgtSilvio/gradle-oci#141), oci-version-catalog 0.3.0 -> 0.4.0 (hivemq-oci-version-catalog-gradle-plugin#16). Blocked on both plugin releases; CI will fail until they are published.
- oci.versions.toml: link to the image in the registry, as the entry did before, instead of prose and an issue reference. - build scripts: drop the comments describing what the registry block does. - libs.versions.toml: drop the plugin bumps, already released via Renovate, by merging the base branch. This resolves the merge conflict.
ymengesha
force-pushed
the
plt-1261-migrate-base-image-to-ecr-public
branch
from
August 11, 2026 16:26
2bbfd90 to
62557e3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Points the
eclipse-temurinbase image — the base layer of the published mqtt-cli OCI image — at the security-patched image published to ECR Public byhivemq/images(PLT-941), instead of the upstream Docker Hub image. It is the only image in this catalog.imagelibrary/eclipse-temurinpublic.ecr.aws/y7j2u9c5/base-images/eclipse-temurinsha256:373787d1…(Docker Hub)sha256:aea6de42…(ECR Public, current 21-jre-noble)Prerequisites — both landed ✅
Originally opened against unreleased plugin versions; both have since merged and published:
0.28.0— ECR Public auth fix (Ignore non-conforming scopes in the authentication challenge SgtSilvio/gradle-oci#141, merged 2026-07-17), published 2026-07-17.0.4.0— registry-qualified image support (PLT-1261: feat: support registry-qualified image references hivemq-oci-version-catalog-gradle-plugin#16, merged 2026-07-17), published 2026-07-17.Verified end-to-end against the released plugins with this exact configuration: the base image pulls anonymously from ECR Public (17 blobs / 202 MB). No credentials, OIDC or CI auth changes. The shared
oci.versions.tomlRenovate manager keeps the digest fresh.