Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 5ad3e3a

Browse files
author
Corneil du Plessis
authored
Added DockerHub login to CI to prevent failure of TestContainer tests. (#5697)
Updated docker/login-action to v3
1 parent 65b168f commit 5ad3e3a

File tree

5 files changed

+25
-1
lines changed

5 files changed

+25
-1
lines changed

.github/workflows/build-snapshot-worker.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ jobs:
3838
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
3939
restore-keys: |
4040
${{ runner.os }}-m2-
41-
41+
- name: Login dockerhub
42+
uses: docker/login-action@v3
43+
with:
44+
username: ${{ secrets.DOCKERHUB_USERNAME }}
45+
password: ${{ secrets.DOCKERHUB_TOKEN }}
4246
# target deploy repos
4347
- name: Configure JFrog Cli
4448
run: |

.github/workflows/ci-it-db.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
with:
2525
maven-version: 3.8.8
2626
maven-mirror: 'https://dlcdn.apache.org/maven/maven-3/'
27+
- name: Login dockerhub
28+
uses: docker/login-action@v3
29+
with:
30+
username: ${{ secrets.DOCKERHUB_USERNAME }}
31+
password: ${{ secrets.DOCKERHUB_TOKEN }}
2732
- name: 'Action: Run Db IT'
2833
run: |
2934
mvn \

.github/workflows/ci-it-security.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
with:
2020
maven-version: 3.8.8
2121
maven-mirror: 'https://dlcdn.apache.org/maven/maven-3/'
22+
- name: Login dockerhub
23+
uses: docker/login-action@v3
24+
with:
25+
username: ${{ secrets.DOCKERHUB_USERNAME }}
26+
password: ${{ secrets.DOCKERHUB_TOKEN }}
2227
- name: Run Security IT
2328
run: |
2429
mvn \

.github/workflows/ci-pr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
with:
2828
maven-version: 3.8.8
2929
maven-mirror: 'https://dlcdn.apache.org/maven/maven-3/'
30+
- name: Login dockerhub
31+
uses: docker/login-action@v3
32+
with:
33+
username: ${{ secrets.DOCKERHUB_USERNAME }}
34+
password: ${{ secrets.DOCKERHUB_TOKEN }}
3035
# build
3136
- name: Build
3237
run: |

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ jobs:
4444
version: 1.46.4
4545
env:
4646
JF_ARTIFACTORY_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
47+
- name: Login dockerhub
48+
uses: docker/login-action@v3
49+
with:
50+
username: ${{ secrets.DOCKERHUB_USERNAME }}
51+
password: ${{ secrets.DOCKERHUB_TOKEN }}
4752
# setup frog cli
4853
- name: Configure JFrog Cli
4954
run: |

0 commit comments

Comments
 (0)