Skip to content

Commit

Permalink
Log into Docker Hub before pulling any Docker Images
Browse files Browse the repository at this point in the history
We are less likely to hit rate limiting if we log into Docker Hub
before pulling images.
  • Loading branch information
jsf9k committed Jan 28, 2025
1 parent 00fa8b2 commit 5d1265b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,14 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install --upgrade --requirement requirements-test.txt
- name: Login to Docker Hub
# We are less likely to hit rate limiting if we log into Docker
# Hub before pulling images.
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
password: ${{ secrets.DOCKER_PASSWORD }}
username: ${{ secrets.DOCKER_USERNAME }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down

0 comments on commit 5d1265b

Please sign in to comment.