You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Policy CLI version 2.4 to push an image returns:
oras push manifest failed: unexpected status from PUT request to <ecr-url>/manifests/latest: 405 Method Not Allowed
failed to push one or more policies: oras push manifest failed: unexpected status from PUT request to <ecr-url>/manifests/latest: 405 Method Not Allowed
Using Policy CLI version 2.1 works as intended.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: