You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This could be solved by deploying the containers in GitHub packages, allowing lower latency, and no HTTP 429 errors. The packages could be deployed both in Docker Hub and GitHub packages.
The text was updated successfully, but these errors were encountered:
clemlesne
changed the title
Use GitHub Packages for storing containers
Use GitHub Packages for storing containers to avoid HTTP 429 errors from Docker Hub in GitHub Actions
Jan 2, 2024
I've used crane to clone both tonistiigi/binfmt and moby/buildkit into my GHCR account within all tags and platforms available, as a workarround for my own builds and anyone's usage. I haven't seen HTTP 429 when pulling from Actions runners anymore.
jobs:
build:
steps:
- name: Set up QEMUuses: docker/setup-qemu-action@v3with:
image: ghcr.io/amitie10g/binfmt:latest
- name: Set up Docker Buildxuses: docker/setup-buildx-action@v3with:
driver-opts: | image=ghcr.io/amitie10g/buildkit:master
Quite a few times, GitHub Actions stops because Docker Hub triggers an HTTP 429 (too many request) error, like there: https://github.com/clemlesne/azure-pipelines-agent/actions/runs/7384635563/job/20087929649.
This could be solved by deploying the containers in GitHub packages, allowing lower latency, and no HTTP 429 errors. The packages could be deployed both in Docker Hub and GitHub packages.
The text was updated successfully, but these errors were encountered: