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.