From d18809fe4011373f5f768cc4c0f729034a80c2bb Mon Sep 17 00:00:00 2001 From: Nicolas Bock Date: Mon, 6 May 2024 10:26:36 -0600 Subject: [PATCH] Fix docker login Signed-off-by: Nicolas Bock --- .github/workflows/docker-publish.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml index 31906e2..55f4d61 100644 --- a/.github/workflows/docker-publish.yaml +++ b/.github/workflows/docker-publish.yaml @@ -42,17 +42,16 @@ jobs: - name: Test and Build run: make all - + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Log into registry ${{ env.REGISTRY }} - if: github.event_name != 'pull_request' uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Extract Docker metadata - processor id: processor_meta