-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix OciRepositoryHandler.getOrHeadMetadata:
The image metadata can be different (missing indexAnnotations and manifestDescriptorAnnotations) depending on if it is served from cache or not, because the digest/size of the single image manifest is used. Instead, the digest that is referenced by the imageReference (could be an index) must be used. This requires to add the platform as a path parameter to the oci metadata endpoint to select the right metadata.
- Loading branch information
Showing
2 changed files
with
75 additions
and
66 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
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