Replies: 1 comment
-
The correct way to get the base image is to look at the materials section of the provenance attestation (does not need to be mode=max) and find a dependency that is the subarray of your image layers. You can combine it with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Trying to find the base image name and its digest, I try to evaluate if I can get this from the metadata file with provenance=max.
With docker, I do this :
After some tests, it seems always true (no matter if this is a multi stage build or not) except if the base image is scratch.
Do you think this is reliable ?
Regards,
Beta Was this translation helpful? Give feedback.
All reactions