mongodb-github-action
mongodb-github-action copied to clipboard
Action fails due to docker: toomanyrequests
We're using this step in our gh actions and it failed due to the following error.
It looks like we're unauthenticated with docker when pulling the mongodb lib, and I can't see anything in this actions code/readme authenticating against docker. Plus we're only running a few actions a day (small company), so my assumption is that we hit a rate limit with a few other anonymous users.
Any thoughts on how to correct this?
Selecting correct MongoDB client
- Using MongoDB client: [mongosh --quiet]
Starting MongoDB as single-node replica set
- port [42069]
- version [5.0]
- replica set [rs0]
Unable to find image 'mongo:5.0' locally
5.0: Pulling from library/mongo
docker: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.
Error starting MongoDB Docker container
Our config is the following:
# Step: Start MongoDB
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: "5.0"
mongodb-port: 42069
mongodb-replica-set: rs0