Skip to content

Commit 09cc6dc

Browse files
authored
Merge pull request #4119 from DataDog/vpellan/ci-docker-login
2 parents 0996039 + a034184 commit 09cc6dc

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/system-tests.yml

+15
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ jobs:
3636
repository: 'DataDog/system-tests'
3737
ref: ${{ env.SYSTEM_TESTS_REF }}
3838
persist-credentials: false
39+
- name: Login to Docker Hub
40+
uses: docker/login-action@v3
41+
with:
42+
username: ${{ secrets.DOCKERHUB_USERNAME }}
43+
password: ${{ secrets.DOCKERHUB_TOKEN }}
3944
- name: Pull released image
4045
run: |
4146
if docker pull ${{ env.REPO }}/system-tests/${{ matrix.image.name }}:latest; then
@@ -131,6 +136,11 @@ jobs:
131136
echo "FORCED_TESTS_LIST<<EOF" >> $GITHUB_OUTPUT
132137
echo "$(cat binaries/dd-trace-rb/.github/forced-tests-list.json)" >> $GITHUB_OUTPUT
133138
echo "EOF" >> $GITHUB_OUTPUT
139+
- name: Login to Docker Hub
140+
uses: docker/login-action@v3
141+
with:
142+
username: ${{ secrets.DOCKERHUB_USERNAME }}
143+
password: ${{ secrets.DOCKERHUB_TOKEN }}
134144
- name: Pull released image
135145
run: |
136146
if docker pull ${{ env.REPO }}/system-tests/${{ matrix.library.name }}/${{ matrix.image }}-${{ matrix.app }}:latest; then
@@ -285,6 +295,11 @@ jobs:
285295
repository: 'DataDog/system-tests'
286296
ref: ${{ env.SYSTEM_TESTS_REF }}
287297
persist-credentials: false
298+
- name: Login to Docker Hub
299+
uses: docker/login-action@v3
300+
with:
301+
username: ${{ secrets.DOCKERHUB_USERNAME }}
302+
password: ${{ secrets.DOCKERHUB_TOKEN }}
288303
- name: Pull runner image
289304
run: |
290305
docker pull ${{ env.REPO }}/system-tests/runner:gha${{ github.run_id }}-g${{ github.sha }}

0 commit comments

Comments
 (0)