diff --git a/.github/workflows/build-snapshot-worker.yml b/.github/workflows/build-snapshot-worker.yml index 214d76ab28..ab4286a8bf 100644 --- a/.github/workflows/build-snapshot-worker.yml +++ b/.github/workflows/build-snapshot-worker.yml @@ -38,7 +38,11 @@ jobs: key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-m2- - + - name: Login dockerhub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} # target deploy repos - name: Configure JFrog Cli run: | diff --git a/.github/workflows/ci-it-db.yml b/.github/workflows/ci-it-db.yml index dbe8ed4835..508e427593 100644 --- a/.github/workflows/ci-it-db.yml +++ b/.github/workflows/ci-it-db.yml @@ -24,6 +24,11 @@ jobs: with: maven-version: 3.8.8 maven-mirror: 'https://dlcdn.apache.org/maven/maven-3/' + - name: Login dockerhub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: 'Action: Run Db IT' run: | mvn \ diff --git a/.github/workflows/ci-it-security.yml b/.github/workflows/ci-it-security.yml index 45ea7fc8c8..2f95b7baa4 100644 --- a/.github/workflows/ci-it-security.yml +++ b/.github/workflows/ci-it-security.yml @@ -19,6 +19,11 @@ jobs: with: maven-version: 3.8.8 maven-mirror: 'https://dlcdn.apache.org/maven/maven-3/' + - name: Login dockerhub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Run Security IT run: | mvn \ diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index e6273949d9..8d52f02f1e 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -27,6 +27,11 @@ jobs: with: maven-version: 3.8.8 maven-mirror: 'https://dlcdn.apache.org/maven/maven-3/' + - name: Login dockerhub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} # build - name: Build run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 43bb619196..a2e42508b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,11 @@ jobs: version: 1.46.4 env: JF_ARTIFACTORY_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }} + - name: Login dockerhub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} # setup frog cli - name: Configure JFrog Cli run: |