-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
pipelines: BundlingOptions Docker Login #25808
Comments
Hi If you need You can select your favorite image tags here: Let me know if it works for you. |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
I think this is a broader problem. assets that are bundled in the synth step (S3, Lambda Containers) do not honor the Docker credentials. This is also true for ECR logins to private registries. |
Thanks @pahud! Will git it a try! |
+1! |
Agree. I am making it a p2 feature request. Please help us prioritize it by upvotes 👍 on the issue. |
Describe the bug
We are using
CodePipeline
in which we correctly specified our Docker Hub secret. It is correctly retrieved by the codebuild project. In this pipeline, we have a stage in which we are building a stack that has anaws_s3_assets.s3_assets
resource. In this resource, we use `BundlingOptions' like this:However, pulling the image
python:3.10
still results in a rate-limit issue. It seems like it's not using the specified Docker Hub secret we specified in the pipeline level. I verified using some command that we still haven't reached our account's rate limit.Our pipeline looks like this:
to which we add the stage that creates the
s3_assets
.Expected Behavior
Use the specified Docker Hub secrets then login to avoid the rate limit issue.
Current Behavior
Unable to find image 'python:3.10' locally
266 | docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
Reproduction Steps
N/A
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.81.0
Framework Version
No response
Node.js Version
v16.17.0
OS
macOS Ventura 13.3.1
Language
Python
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: