From f0f71f72f7b9626980cc5f9ec6f8bc385a5fbb44 Mon Sep 17 00:00:00 2001 From: Nicolas Duchon Date: Wed, 15 May 2024 21:31:17 +0200 Subject: [PATCH] ci: login to dockerhub to avoid rate limiting --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 598f139..60ecfc4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,6 +36,12 @@ jobs: pip install -r python-requirements.txt working-directory: test/requirements + - name: Login to DockerHub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Pull nginx:alpine image run: docker pull nginx:alpine