From 3fd4005930109c84e2194fe1f667a471186652be Mon Sep 17 00:00:00 2001 From: Roberto Rossini <71787608+robomics@users.noreply.github.com> Date: Thu, 3 Aug 2023 10:26:38 +0200 Subject: [PATCH] Fix CI --- .github/workflows/build-dockerfile.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build-dockerfile.yml b/.github/workflows/build-dockerfile.yml index fe3f2853..588a246f 100644 --- a/.github/workflows/build-dockerfile.yml +++ b/.github/workflows/build-dockerfile.yml @@ -118,6 +118,13 @@ jobs: type=ref,priority=700,event=branch type=ref,priority=600,event=pr + - name: Login to DockerHub + if: github.event_name != 'pull_request' + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Login to GitHub Container Registry uses: docker/login-action@v2 with: