Skip to content

Bump chainguard static base image to latest sha#9490

Closed
ltwongaa wants to merge 4 commits intotektoncd:mainfrom
ltwongaa:update-chainguard-static-base-image
Closed

Bump chainguard static base image to latest sha#9490
ltwongaa wants to merge 4 commits intotektoncd:mainfrom
ltwongaa:update-chainguard-static-base-image

Conversation

@ltwongaa
Copy link

@ltwongaa ltwongaa commented Mar 4, 2026

Manually bump ko build base image to latest image in chainguard static image repo
https://images.chainguard.dev/directory/image/static/versions
This fixes the os image out of support issue
#9163

Changes

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
  • Has Tests included if any functionality added or changed
  • pre-commit Passed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including functionality, content, code)
  • Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label Mar 4, 2026
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 4, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 4, 2026
@waveywaves waveywaves self-assigned this Mar 5, 2026
@waveywaves
Copy link
Member

/kind bug

@tekton-robot tekton-robot added the kind/bug Categorizes issue or PR as related to a bug. label Mar 5, 2026
@waveywaves
Copy link
Member

/retest

@waveywaves
Copy link
Member

confirmed the digest resolves to a current image: cgr.dev/chainguard/static@sha256:7c353129... was built on 2026-03-02 via apko (Chainguard's distroless builder). It's the latest static image, not Alpine-based. Looks good on that front.

@waveywaves
Copy link
Member

/retest

1 similar comment
@waveywaves
Copy link
Member

/retest

@ltwongaa
Copy link
Author

ltwongaa commented Mar 9, 2026

confirmed the digest resolves to a current image: cgr.dev/chainguard/static@sha256:7c353129... was built on 2026-03-02 via apko (Chainguard's distroless builder). It's the latest static image, not Alpine-based. Looks good on that front.

Seems E2E failed expecting an arm image, I changed to the image sha to the arm image one

@ltwongaa
Copy link
Author

ltwongaa commented Mar 9, 2026

/retest

@ltwongaa
Copy link
Author

ltwongaa commented Mar 9, 2026

/retest

@@ -1,4 +1,4 @@
defaultBaseImage: cgr.dev/chainguard/static@sha256:67a1b00e0134e2b3a614c7198a26f7deed9d11b7acad4d52c79c0cfd47a2eae7
defaultBaseImage: cgr.dev/chainguard/static@sha256:d6a97eb401cbc7c6d48be76ad81d7899b94303580859d396b52b67bc84ea7345
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this sha corresponds to a tag, could you mention the tag in a comment please?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @afrittoli ,
chainguard now only provides the tag latest there,
all the others are with the sha.
This is the current sha of the latest tag.

FYI, if you view from the official repository, they hide all the other images except the latest.
https://images.chainguard.dev/directory/image/static/versions#/

Copy link
Member

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: afrittoli

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

The pull request process is described 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 approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 10, 2026
Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new digest is a valid manifest list (OCI image index), but it significantly reduces architecture coverage compared to the old one.

Old digest (67a1b00e...) — 7 architectures:

Arch OS
386 linux
amd64 linux
arm/v6 linux
arm/v7 linux
arm64 linux
ppc64le linux
s390x linux

New digest (d6a97eb4...) — 2 architectures:

Arch OS
amd64 linux
arm64 linux

This drops 386, arm/v6, arm/v7, ppc64le, and s390x. We do ship ppc64le and s390x so this would be a problem.

/hold

@tekton-robot tekton-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 11, 2026
@vdemeester
Copy link
Member

vdemeester commented Mar 11, 2026

For context, Chainguard announced this change in May 2024 and applied it on July 15, 2024. They moved the free/Developer tier static image from an Alpine base to a Wolfi base, which only supports amd64 and arm64.

From their blog post:

If you use an architecture that isn't supported by Wolfi, these changes will impact you. Wolfi-base images are only built for arm64/aarch64 and x86_64/amd64.

The old digest (67a1b00e...) was the pre-Wolfi Alpine-based image with all 7 architectures. The new digest (d6a97eb4...) is the current Wolfi-based image with only 2. This is by design — Wolfi doesn't support ppc64le or s390x.

Since we need those architectures, options include:

  1. Stay on the old digest (but it won't get security updates)
  2. Switch to a different base image (e.g. gcr.io/distroless/static-debian12)

@ltwongaa
Copy link
Author

ltwongaa commented Mar 11, 2026

emmm, I wonder who would able to make the decision on the approaches
my concern is that the base image is not being updated for a long time,
which is with an out of support os

@vdemeester
Copy link
Member

emmm, I wonder who would able to make the decision on the approaches my concern is that the base image is not being updated for a long time, which is with an out of support os

I agree with you on the image not being up-to-date, we need to take a decision rather soon than later.

@waveywaves
Copy link
Member

Agree with the /hold. #9557 is the right path forward here.

@waveywaves
Copy link
Member

@ltwongaa can you please rebase this PR ? Thank you.

@vdemeester
Copy link
Member

I think we can close this as we are working towards owning the base image, see tektoncd/plumbing#3221 and #9576.

Thank you for the contribution @ltwongaa 🤗

@vdemeester vdemeester closed this Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. kind/bug Categorizes issue or PR as related to a bug. 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.

5 participants