-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hi! Thank you for creating this GitHub Action- I'm keen to use it. I'm interested in pulling policies from an OCI ECR AWS registry. As I've understood from the NOTE in the README I need to initially ensure that I've already logged in with the docker login command within the job.
I've done this with the following command: aws ecr get-login-password --region *** | docker login --username AWS --password-stdin ***.dkr.ecr.***.amazonaws.com. The login has succeed within the job, but for some reason I still get the following error when trying to pull the secrets: runnning conftest pull: Error: download policies: error downloading 'oci://***.dkr.ecr.***.amazonaws.com/***:latest': pulling policy: unexpected status code [manifests latest]: 401 Unauthorized
Any idea why the Action can't find the Docker creds? Originally I thought it would've been some permissions issue within the runner, but that does not seem the be case.
Any tips on how to solve are much appreciated!