docker / setup-qemu-action

GitHub Action to install QEMU static binaries
https://github.com/marketplace/actions/docker-setup-qemu
Apache License 2.0
456 stars 61 forks source link

Authenticate with DockerHub? #178

Closed lukehsiao closed 1 week ago

lukehsiao commented 1 week ago

Description

We are seeing rate limit issues:

Image

Is there a way to authenticate with DockerHub (so we can get higher rate limits)?

crazy-max commented 1 week ago

GitHub public runners don't have rate limits against Docker Hub. If that's the case please let us know.

If you're on a self-hosted runner it might happen but you can use https://github.com/docker/login-action:

      -
        name: Login to Docker Hub
        uses: docker/login-action@v3
        with:
          username: ${{ vars.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v3