Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker authentication for AWS #134

Closed
alexeagle opened this issue Mar 29, 2023 · 0 comments · Fixed by #136
Closed

Docker authentication for AWS #134

alexeagle opened this issue Mar 29, 2023 · 0 comments · Fixed by #136
Assignees

Comments

@alexeagle
Copy link
Collaborator

Trying

oci_pull(
    name = "aws_lambda_python",
    # tag = "3.8"
    digest = "sha256:46b3b8614b31761b24f56be1bb8c7ba191d9b9b4624bbf7f53ed7ddc696c928b",
    image = "public.ecr.aws/lambda/python",
)

which fails

Error downloading [https://public.ecr.aws/v2/lambda/python/manifests/sha256:46b3b8614b31761b24f56be1bb8c7ba191d9b9b4624bbf7f53ed7ddc696c928b] to /shared/cache/bazel/user_base/31d1af6682b925f850635e639ebdf8e8/external/aws_lambda_python/46b3b8614b31761b24f56be1bb8c7ba191d9b9b4624bbf7f53ed7ddc696c928b: GET returned 401 Unauthorized

From https://docs.aws.amazon.com/AmazonECR/latest/public/public-registries.html#public-registry-auth I guess there is something we have to do, I'm not sure if it's covered by current Work-in-Progress or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants