diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 46b27d51a77..d399d38770b 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -73,8 +73,12 @@ jobs: run: | sudo apt-get update && sudo apt-get install libmysqlclient-dev libxmlsec1-dev lynx - - name: Login to Docker Hub + # Try to log into DockerHub so that we're less likely to be rate-limited when pulling certain images. + # This will fail on any edx-platform fork which doesn't explicitly define its own DockerHub creds. + # That's OK--if we fail to log in, we'll proceed anonymously, and hope we don't get rate-limited. + - name: Try to log into Docker Hub uses: docker/login-action@v3.3.0 + continue-on-error: true with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }}