Skip to content
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

CI: Use a non-rate-limiting docker.io mirror #9911

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

snazy
Copy link
Member

@snazy snazy commented Nov 12, 2024

A (probably) neat trick to get around docker.io's bugging request/rate-limiting

@snazy snazy force-pushed the docker-mirror branch 3 times, most recently from 38ebde1 to 6789242 Compare November 12, 2024 10:42
@snazy snazy closed this Nov 12, 2024
@snazy snazy deleted the docker-mirror branch November 12, 2024 10:53
@snazy snazy restored the docker-mirror branch November 21, 2024 15:44
@snazy
Copy link
Member Author

snazy commented Nov 21, 2024

I initially closed this PR as I read somewhere that Docker doesn't rate-limit GH workflows, but... there is obviously a rate-limit... see here and here

@snazy snazy reopened this Nov 21, 2024
@snazy snazy force-pushed the docker-mirror branch 12 times, most recently from 712e8ef to a7bf58f Compare November 21, 2024 16:35
@snazy
Copy link
Member Author

snazy commented Nov 21, 2024

I'm not 100% sure this works via /etc/containers/registries.conf.d/..., because it's hard to figure out whether it's really using the mirror. A dumb docker --log-level=debug image pull docker.io/... doesn't show anything useful 🤷

@snazy snazy marked this pull request as ready for review November 21, 2024 16:37
@snazy snazy merged commit 4873965 into projectnessie:main Nov 21, 2024
15 of 16 checks passed
@snazy snazy deleted the docker-mirror branch November 21, 2024 20:42
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