Skip to content

Commit

Permalink
Enable Docker Hub login to reduce hitting rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
aequitas committed Oct 14, 2024
1 parent cc22273 commit aa9d94a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to Docker Hub to increase rate limit on pulls
# https://github.com/docker/login-action?tab=readme-ov-file#dockerhub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# worst case of this failing is running into Docker Hub rate limit
continue-on-error: true

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down

0 comments on commit aa9d94a

Please sign in to comment.