-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of references with digests
References can contain digests or tags, but not both, so fix our parser to handle either type of name for use as image names. Update PolicyConfigurationNamespaces() to discard tags and digests when computing the list of alternate namespaces which can match an image. Drop digests from a storageImageSource's copies of references, in case we're reading and writing images using references which contain digests, since schema1 images tend to fail verification of those. Signed-off-by: Nalin Dahyabhai <[email protected]>
- Loading branch information
Showing
5 changed files
with
207 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.