opcr-io / policy

CLI for building OPA policies into OCI images
https://www.openpolicycontainers.com
Apache License 2.0
212 stars 12 forks source link

Policy CLI fails to push an image to ECR #149

Open carabasdaniel opened 10 months ago

carabasdaniel commented 10 months ago

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.

carabasdaniel commented 10 months ago

Investigation results: