attestation in cloud build executed , but the binary authorisation making it block instead of deploying it ,below the deploy error occurs repeatedly, i have give allow policy in in namespace with attestor but it still not working.
admission webhook "imagepolicywebhook.image-policy.k8s.io" denied the request: Image gcr.io/project_id/test-nodejs:3717648b21e6d00b7f2db9054df392e303ff6c2f denied by Binary Authorization Kubernetes namespace admission rule for in-uat. Image gcr.io/project_id/test-nodejs:3717648b21e6d00b7f2db9054df392e303ff6c2f denied by attestor projects/project_id/attestors/Binary-cloud-key: Expected digest with sha256 scheme, but got tag or malformed digest.
deployment is working fine without policy, whenever policy set it's not deploying
anyone suggest me to resolve issue.