[release/9.0.1xx] Backport "Pin Base Image via Digest" to release/9.0.2xx #45869
+100
−46
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.
Backport of #45594 to release/9.0.1xx due to @tmds's request in #45856.
Fixes #45856
Description
This feature was implemented in #44461 and is being included in the 9.0.2xx band with #45594.
The feature enables pinning the base image to a specific digest. This enables to control and determine the exact version of a container image tag that was used, which is important for software supply chain (SBOMs) and reproducibility of build environments.
Customer Impact
Without this change, the second bullet point is the big sticking point - users can provide a Digest, but the tooling will not make use of the digest.
Regression?
No - this is a new feature in 9.0.2xx
Risk
Low - we have good (new) test coverage here, and this doesn't change any of the logic around consuming the base images themselves, only the selection of which base image to use.