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

Commit fcf1611

Browse files
author
Corneil du Plessis
committed
Added DockerHub login to CI to prevent failure of TestContainer tests.
1 parent 1ca3de8 commit fcf1611

File tree

5 files changed

+28
-2
lines changed

5 files changed

+28
-2
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ jobs:
3939
restore-keys: |
4040
${{ runner.os }}-m2-
4141
42+
- name: Login dockerhub
43+
uses: docker/login-action@v1
44+
with:
45+
username: ${{ secrets.DOCKERHUB_USERNAME }}
46+
password: ${{ secrets.DOCKERHUB_TOKEN }}
4247
# target deploy repos
4348
- name: Configure JFrog Cli
4449
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@v1
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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ 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@v1
24+
with:
25+
username: ${{ secrets.DOCKERHUB_USERNAME }}
26+
password: ${{ secrets.DOCKERHUB_TOKEN }}
27+
2228
- name: Run Security IT
2329
run: |
2430
mvn \

.github/workflows/ci-pr.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@ jobs:
2727
with:
2828
maven-version: 3.8.8
2929
maven-mirror: 'https://dlcdn.apache.org/maven/maven-3/'
30-
# build
30+
- name: Login dockerhub
31+
uses: docker/login-action@v1
32+
with:
33+
username: ${{ secrets.DOCKERHUB_USERNAME }}
34+
password: ${{ secrets.DOCKERHUB_TOKEN }}
35+
# build
3136
- name: Build
3237
run: |
3338
mvn -B -s .github/settings.xml clean install

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ jobs:
4444
version: 1.46.4
4545
env:
4646
JF_ARTIFACTORY_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
47-
# setup frog cli
47+
- name: Login dockerhub
48+
uses: docker/login-action@v1
49+
with:
50+
username: ${{ secrets.DOCKERHUB_USERNAME }}
51+
password: ${{ secrets.DOCKERHUB_TOKEN }}
52+
# setup frog cli
4853
- name: Configure JFrog Cli
4954
run: |
5055
jfrog rt mvnc \

0 commit comments

Comments
 (0)