Skip to content

Conversation

rkistner
Copy link
Contributor

#298 added "Docker login" to all CI actions, but unfortunately it did not take effect on the MongoDB images used by supercharge/mongodb-github-action. This resulted in frequent errors like these when running the actions:

  Unable to find image 'mongo:6.0' locally
  docker: Error response from daemon: toomanyrequests: You have reached your unauthenticated pull rate limit. https://www.docker.com/increase-rate-limit.

This adds a "pre-pull" before starting MongoDB, so that the image is already cached before starting it.

We can confirm it has an effect by looking at the runtime of the actions: Before it would take around 12s for "Start MongoDB". Now it takes around 9s for "Pre-pull Mongo image", and 3s for "Start MongoDB", confirming that it does use the cached image.

@changeset-bot
Copy link

changeset-bot bot commented Aug 25, 2025

⚠️ No Changeset found

Latest commit: 2d2372c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@rkistner rkistner merged commit 7852eb7 into main Aug 25, 2025
34 of 36 checks passed
@rkistner rkistner deleted the authenticated-docker-mongodb branch August 25, 2025 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants