Skip to content

Commit 3f9efbc

Browse files
authored
Add Docker Hub login step in pull request workflow
Added Docker Hub login step to avoid rate limits. Signed-off-by: Finn Rades <64548817+zOnlyKroks@users.noreply.github.com>
1 parent afb87d8 commit 3f9efbc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/pull-request.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,12 @@ jobs:
110110
- name: Setup kubectl
111111
uses: azure/setup-kubectl@776406bce94f63e41d621b960d78ee25c8b76ede # v4.0.1
112112

113+
- name: Login to Docker Hub to avoid rate limits
114+
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
115+
with:
116+
username: ${{ secrets.REGISTRY_USER }}
117+
password: ${{ secrets.REGISTRY_PASSWORD }}
118+
113119
- name: Create kind cluster
114120
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
115121
with:

0 commit comments

Comments
 (0)