Skip to content

Commit 06d15d5

Browse files
committed
Add Docker login step to CI job to avoid rate limiting flakes
1 parent e8b821d commit 06d15d5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/main.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ jobs:
4646
- uses: actions/setup-node@v3
4747
with:
4848
node-version: ${{ matrix.versions.node }}
49+
- name: Login to Docker Hub
50+
if: ${{ github.triggering_actor != 'dependabot[bot]' }}
51+
uses: docker/login-action@v3
52+
with:
53+
username: ${{secrets.DOCKER_USERNAME}}
54+
password: ${{secrets.DOCKER_PASSWORD}}
4955
- name: "Install dependencies"
5056
run: |
5157
npm ci

0 commit comments

Comments
 (0)