diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 94bf0c53dc..be4f185e4b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -42,6 +42,13 @@ jobs: # so that we can use the buildkit cache - uses: depot/use-containerd-snapshotter-action@v1 + - name: Login to Docker Hub registry + uses: docker/login-action@v3 + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'zeta-chain/node' + with: + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_READ_ONLY }} + - name: Login to github docker registry uses: docker/login-action@v3 with: @@ -92,6 +99,7 @@ jobs: build-args: | NODE_VERSION=${{ env.NODE_VERSION }} NODE_COMMIT=${{ env.NODE_COMMIT }} + - run: echo "${{ steps.build.outputs.metadata }}" matrix-conditionals: needs: build-zetanode