Skip to content

Commit

Permalink
Add read only docker hub token for rate limits
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPansino committed Oct 14, 2024
1 parent 863e2b1 commit 38ecc07
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ jobs:
with:
persist-credentials: false

# Gives higher rate limits for image pulls
- name: Login to Docker Hub Container Registry (Read Only)
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # 3.3.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN_READ_ONLY }}

- name: Enable arm64 emulation
if: inputs.ARCHITECTURE != 'linux/amd64'
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # 3.2.0
Expand Down

0 comments on commit 38ecc07

Please sign in to comment.