Skip to content

Commit 718e895

Browse files
committed
test: login to docker hub for e2e tests
1 parent 6fb63d0 commit 718e895

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/e2e.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ jobs:
1919
- name: Checkout code
2020
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2121

22+
# Authenticate to Docker Hub to avoid pull rate limits.
23+
# Skipped on fork PRs where secrets are unavailable — those runs
24+
# fall back to unauthenticated pulls and may be rate-limited.
25+
- name: Log in to Docker Hub
26+
if: secrets.DOCKER_PASSWORD != ''
27+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
28+
with:
29+
username: finos
30+
password: ${{ secrets.DOCKER_PASSWORD }}
31+
2232
- name: Set up Docker Buildx
2333
uses: docker/setup-buildx-action@7c525be6cc8a882d5163ce04293cac18617c709f
2434

0 commit comments

Comments
 (0)