buildpacks / imgutil

Helpful utilities for working with images
Apache License 2.0
24 stars 41 forks source link

Fix bug in remote.Valid() #196

Closed matthewrobertson closed 1 year ago

matthewrobertson commented 1 year ago

The remote.Valid() function assumes the platform is always linux/amd64. This was causing validation to fail for an index reference that only contains a windows manifest. This commit fixes the issue calling the ggcr validate.Index() function when the ref is an index.