Skip to content

Add configuration to use a private registry instead of docker.com when running as the yq action #2354

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

Open
rseeton opened this issue May 6, 2025 · 2 comments

Comments

@rseeton
Copy link

rseeton commented May 6, 2025

When running the yq action in GitHub we encounter the following message:

Pull down action image 'mikefarah/yq:4-githubaction'
/usr/local/bin/docker pull mikefarah/yq:4-githubaction
Error response from daemon: toomanyrequests: You have reached your unauthenticated pull rate limit. https://www.docker.com/increase-rate-limit
Warning: Docker pull failed with exit code 1, back off 4.362 seconds before retry.

We run a local private registry (Artifactory) which caches images from the Docker.com registry (this allows us to do one pull from docker and then to serve it to multiple users internally).

To make this work, we need the ability to redirect the image source - an example can be seen here:

docker/setup-buildx-action#375

@mikefarah
Copy link
Owner

Sorry I'm not quite sure what I'd need to do to support that - need to do more reading when I have time. Otherwise happy to accept a PR

@rseeton
Copy link
Author

rseeton commented May 9, 2025

@mikefarah - No worries and certainly no rush (As a work around we are installing yq as part of the Github instead of using the action).

Let me take a look and see if I can get you a PR.

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

No branches or pull requests

2 participants