Skip to content

Commit 102588a

Browse files
committed
try to use docker token
1 parent 7c239db commit 102588a

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/tests_e2e.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ jobs:
1818
working-directory: api
1919
run: composer install --no-interaction --prefer-dist --ignore-platform-reqs
2020

21+
- name: Log in to Docker Hub
22+
uses: docker/login-action@v3
23+
with:
24+
username: ${{ secrets.DOCKERHUB_USERNAME }}
25+
password: ${{ secrets.DOCKERHUB_TOKEN }}
26+
2127
- name: Build and start the E2E stack
2228
run: docker compose -f docker-compose.e2e.yml up -d --build
2329

.github/workflows/tests_phpunit.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ jobs:
4747
steps:
4848
- uses: actions/checkout@v4
4949

50+
- name: Log in to Docker Hub
51+
uses: docker/login-action@v3
52+
with:
53+
username: ${{ secrets.DOCKERHUB_USERNAME }}
54+
password: ${{ secrets.DOCKERHUB_TOKEN }}
55+
5056
- name: Build test images
5157
run: docker compose -f docker-compose.test.yml build
5258

0 commit comments

Comments
 (0)