add docker hub token for auth'd requested; add cooldown back into dependabot.yml#24703
add docker hub token for auth'd requested; add cooldown back into dependabot.yml#24703
Conversation
| registries: | ||
| dockerhub: | ||
| type: docker-registry | ||
| url: https://registry-1.docker.io |
There was a problem hiding this comment.
Don't we need replaces-base: true as well ?
There was a problem hiding this comment.
replaces-base wasn't a suggested property - it should only be needed when we're using images that are stored on a different registry url than they specify in the docker-compose/dockerfile. (i.e. you're using a private repo). That said, the docs are very unclear. And now I'm doubting that the url I specified is actually the correct url (that's the api url, looks like, but some examples in the docs use https://registry.hub.docker.com instead).
There was a problem hiding this comment.
mmm yeah we probably want https://registry.hub.docker.com ? I agree the docs are confusing
|
Also, we want that for |
It's defined at the top level rather than separately under |
|
https://github.com/mozilla/addons-server/pull/24703/checks?check_run_id=70237566496 |
which is also what's written in their doc: 😕 |
Fixes: mozilla/addons#16103 ...?
Description
Adds in auth for dockerhub, so api calls that were previously rejected now work. Also reverts the change to drop cooldown for docker-compose, because the cooldown is what appeared to trigger the api calls.
Context
Note, this only addresses the docker hub registry. If this works for docker hub hosted images we need to repeat for Github's registry (for zizmor), and either get an equivalent token for elasticsearch's dedicated registrry, or switch to use docker hub (elasticsearch seems to publish their images on docker hub too).
After merging it might be some time before we know if this actually fixes the issue for sure - we need both a new version of a docker-compose package; and to wait for 7 days for the cooldown period to end. (we could set a shorter, say 1 day, cooldown to accelerate?)
Testing
n/a
Checklist
#ISSUENUMat the top of your PR to an existing open issue in the mozilla/addons repository.