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.
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.