Open carabasdaniel opened 10 months ago
Investigation results:
When bumping dependencies in policy CLI v0.2.4 with the latest changes the packing mechanism for the image manifest switched to the latest oras.PackManifestVersion1_1_RC4.
Pushing images that are built with this packing mechanism instead of the older default oras.PackManifestVersion1_0 causes AWS ECR to throw the above 405 Method Not Allowed
error when pushing the manifest blob with the details:
{\"errors\":[{\"code\":\"UNSUPPORTED\",\"message\":\"Invalid parameter at 'ImageManifest' failed to satisfy constraint: 'Invalid JSON syntax'\"}]}\n"
Using Policy CLI version 2.4 to push an image returns:
Using Policy CLI version 2.1 works as intended.