Skip to content

PLT-1261: migrate base image to ECR Public - #760

Open
ymengesha wants to merge 3 commits into
masterfrom
plt-1261-migrate-base-image-to-ecr-public
Open

PLT-1261: migrate base image to ECR Public#760
ymengesha wants to merge 3 commits into
masterfrom
plt-1261-migrate-base-image-to-ecr-public

Conversation

@ymengesha

@ymengesha ymengesha commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

What

Points 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 the upstream Docker Hub image. It is the only image in this catalog.

before after
image library/eclipse-temurin public.ecr.aws/y7j2u9c5/base-images/eclipse-temurin
digest sha256: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:

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.toml Renovate manager keeps the digest fresh.

@ymengesha ymengesha self-assigned this Jul 17, 2026
@cla-bot cla-bot Bot added the cla-signed label Jul 17, 2026
@ymengesha
ymengesha marked this pull request as ready for review July 22, 2026 02:15
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
ymengesha force-pushed the plt-1261-migrate-base-image-to-ecr-public branch from 2bbfd90 to 62557e3 Compare August 11, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant