Skip to content

Commit

Permalink
Update simple-build-test.yml
Browse files Browse the repository at this point in the history
Adding login to dockerhub
  • Loading branch information
edeandrea authored Oct 14, 2024
1 parent f7b9f21 commit 89be31e
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/simple-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ jobs:
distribution: temurin
cache: maven

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_KEY }}

- name: Create env vars
if: matrix.project.openai-type
working-directory: ${{ matrix.project.name }}
Expand Down Expand Up @@ -126,6 +132,12 @@ jobs:
distribution: temurin
cache: maven

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_KEY }}

- name: Create env vars
if: matrix.project.openai-type
working-directory: ${{ matrix.project.name }}
Expand Down Expand Up @@ -165,6 +177,12 @@ jobs:
distribution: temurin
cache: maven

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_KEY }}

- name: "build-jvm-container-${{ matrix.project }}-java-${{ matrix.java }}"
working-directory: ${{ matrix.project }}
run: |
Expand Down Expand Up @@ -219,6 +237,12 @@ jobs:
architecture: x64
cache: maven

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_KEY }}

- name: Create env vars
if: matrix.project.openai-type
working-directory: ${{ matrix.project.name }}
Expand Down Expand Up @@ -277,6 +301,12 @@ jobs:
architecture: x64
cache: maven

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_KEY }}

- name: Create env vars
if: matrix.project.openai-type
working-directory: ${{ matrix.project.name }}
Expand Down Expand Up @@ -335,6 +365,12 @@ jobs:
architecture: x64
cache: maven

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_KEY }}

- name: "build-native-container-${{ matrix.project }}-java-${{ matrix.java.jvm }}"
working-directory: ${{ matrix.project }}
run: |
Expand Down

0 comments on commit 89be31e

Please sign in to comment.