소스 검색

ci: login to dockerhub to avoid rate limiting

Nicolas Duchon 1 년 전
부모
커밋
f0f71f72f7
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      .github/workflows/test.yml

+ 6 - 0
.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