Skip to content

[cherry-pick: release-v0.78.x] fix: resolve manifest list digest instead of platform-specific digest#3638

Open
tekton-robot wants to merge 1 commit into
release-v0.78.xfrom
cherry-pick-3611-to-release-v0.78.x
Open

[cherry-pick: release-v0.78.x] fix: resolve manifest list digest instead of platform-specific digest#3638
tekton-robot wants to merge 1 commit into
release-v0.78.xfrom
cherry-pick-3611-to-release-v0.78.x

Conversation

@tekton-robot

Copy link
Copy Markdown
Contributor

This is a cherry-pick of #3611


Changes

Fix get_image_sha() in hack/openshift/update-image-sha.sh to resolve the manifest list digest instead of a platform-specific digest.
The function was using .manifests[0].digest which picks the first platform entry (amd64), causing the operator CSV to pin task images (buildah, s2i, skopeo,ubi-minimal) to amd64-only digests. This breaks ARM64/multi-arch clusters with exec format error.

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

NONE

  The get_image_sha() function was using .manifests[0].digest which
  returns the first platform entry (amd64) instead of the manifest list
  digest. This causes the operator CSV to pin task images (buildah, s2i,
  skopeo, ubi-minimal) to amd64-only digests, breaking ARM64 and
  multi-arch clusters with exec format error.

  Fix by computing sha256 of the raw manifest list content, which
  produces the manifest list digest that container runtimes use to
  resolve the correct platform at pull time.

Signed-off-by: ab-ghosh <abghosh@redhat.com>
@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label Jun 30, 2026
@tekton-robot

Copy link
Copy Markdown
Contributor Author

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign mbpavan after the PR has been reviewed.
You can assign the PR to them by writing /assign @mbpavan in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note-none Denotes a PR that doesnt merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants