Why you should use GitHub repository rules instead of branch protection rules

Why you should use GitHub repository rules instead of branch protection rules

In July 2023, GitHub released a new feature called repository rules. I didn’t pay much attention to it at first, but then I faced multiple cases where branch protection rules felt like “something is missing”, and recently I decided to give repository rules (A.K.A. repository rulesets) a try. I was surprised by how much more flexible and powerful they are compared to traditional branch protection rules, so I wanted to share useful stuff about them, especially for those who haven’t heard of / tried repository rules yet. ...

April 22, 2026
Cloudflare R2 registry as an extremely cheap solution for DockerHub rate limits

Cloudflare R2 registry as an extremely cheap solution for DockerHub rate limits

DockerHub rate limits DockerHub has a strict rate limit policy, especially for anonymous pulls. for anynomyous users: 100 pulls per 6 hours per IP address. for authenticated users: 200 pulls per 6 hours per IP address. => if your usage exceeds these limits, your requests are denied until the six-hour window elapses. Despite the fact that for authenticated users the rate limit is higher, these limits can easily break the CI/CD pipelines which use DockerHub as a source of base images, especially if runners aren’t ephemeral and use the same IP address for multiple builds. ...

December 30, 2024