Skip to content

Commit e7e1720

Browse files
committed
Login into DockerHub to avoid rate limits
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
1 parent f242784 commit e7e1720

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

.github/workflows/blackbox.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ jobs:
2424
with:
2525
php-version: 8.4
2626
coverage: none
27-
27+
- name: Login to Docker Hub
28+
uses: docker/login-action@v3
29+
with:
30+
username: ${{ secrets.DOCKERHUB_USERNAME }}
31+
password: ${{ secrets.DOCKERHUB_TOKEN }}
2832
- name: Install dependencies
2933
run: composer install --prefer-dist --no-interaction --no-suggest
3034

.github/workflows/checks.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ jobs:
1616
with:
1717
path: ~/.composer/cache/files
1818
key: dependencies-code-checks
19-
19+
- name: Login to Docker Hub
20+
uses: docker/login-action@v3
21+
with:
22+
username: ${{ secrets.DOCKERHUB_USERNAME }}
23+
password: ${{ secrets.DOCKERHUB_TOKEN }}
2024
- name: Setup PHP
2125
uses: shivammathur/setup-php@v2
2226
with:

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ jobs:
4848
with:
4949
path: ~/.composer/cache/files
5050
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
51-
51+
- name: Login to Docker Hub
52+
uses: docker/login-action@v3
53+
with:
54+
username: ${{ secrets.DOCKERHUB_USERNAME }}
55+
password: ${{ secrets.DOCKERHUB_TOKEN }}
5256
- name: Setup PHP
5357
uses: shivammathur/setup-php@v2
5458
with:

0 commit comments

Comments
 (0)