supercharge / mongodb-github-action

Use MongoDB in GitHub Actions
MIT License
222 stars 46 forks source link

Reaching Docker Hub limit #42

Closed Fabazad closed 1 year ago

Fabazad commented 1 year ago

After using several times a day this action, I get blocked with this message : image Is it possible either to give the possibility

Fabazad commented 1 year ago

We think that's because we use buildjet instead of github in our runs-on config

marcuspoehls commented 1 year ago

@Fabazad Hey, looks like rate limiting comes from using Buildjet. I assume you read the FAQ for rate limiting on Buildjet already.

Did you also try to login against Docker Hub increasing your rate limit? You may use the Docker Login GitHub Action.

marcuspoehls commented 1 year ago

@Fabazad Can you share an update?

mrollinsiv commented 1 year ago

@marcuspoehls we're having this same issue using buildjet. I added a docker login as the first step in my workflow but the build always runs before any of the steps so we constantly hit the rate limit.

marcuspoehls commented 1 year ago

@mrollinsiv I’m not using Buildjet and don’t know their service. Can’t help here, sorry

mrollinsiv commented 1 year ago

@marcuspoehls my guess is this is actually just a GHA issue. I ran a build on both ubuntu-latest and buildjet. Both yielded the same order of operations.

Here's an image of the order in which GHA runs:

Screenshot 2023-08-09 at 5 12 20 PM

The builds are run before any of the steps run. Which means that even if I use the docker login step it's run too late.

I'll move to GHA as the source of the issue.

BioCarmen commented 1 month ago

@mrollinsiv are you able to resolve this?