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 年前檢視次數 1137 次
1 個回答
0
已接受的答案
AWS
Subin M
已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南