Docker Hub Login for AWS CodeBuild (Docker Hub Limit)?

0

This is my Current Setup:

  1. Gets repository from Bitbucket
  2. Builds the docker image using the Amazon Linux 2 AWS managed image
  3. Push the image to ECR

I am now sometimes getting the "toomanyrequests" error during the docker build phase. So, now I want to log in to my docker hub account and get rid of this issue.

How do I go about logging into docker hub account only for the build phase? Should I use the buildspec.yml for logging in? But that would conflict with the AWS ECR login, right?

已提问 3 年前1139 查看次数
1 回答
0
已接受的回答
AWS
Subin M
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则