diff --git a/.github/workflows/build2.yml b/.github/workflows/build2.yml index 3b652ee03..4c6284fd8 100644 --- a/.github/workflows/build2.yml +++ b/.github/workflows/build2.yml @@ -80,11 +80,6 @@ jobs: run: | echo "Updating helm unittest plugin to latest version..." helm plugin install https://github.com/helm-unittest/helm-unittest.git - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up JDK 11 uses: actions/setup-java@v4 with: @@ -95,6 +90,7 @@ jobs: # Run build with the gh-build profile - name: Build aiSSEMBLE run: | + docker login registry-1.docker.io/v1 -u ${{ secrets.DOCKERHUB_USERNAME }} --p ${{ secrets.DOCKERHUB_TOKEN }} ./mvnw -B clean install -U --file pom.xml -Pgh-build # ./mvnw -B clean install -U --file pom.xml -Pci,integration-test,gh-build #NB: The following two explicit cache saves are necessary to ensure caches are saved on build failure,