Docker Hub has download limits. When anonymous these limits are per IP address.
We have been hitting the limits when GHA dokken tests download the chef image.
https://www.docker.com/increase-rate-limits/
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
+ - name: Login to Docker Hub
+ uses: docker/login-action@v3
+ with:
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
+ if: github.repository == 'openstreetmap/chef' && github.event_name != 'pull_request'
- name: Check out code
uses: actions/checkout@v4
- name: Setup ruby