From 95f2eb7a88c6b706b8b9dd995d559d44834eced2 Mon Sep 17 00:00:00 2001 From: Mostafa Moradian Date: Fri, 7 Jun 2024 23:20:07 +0200 Subject: [PATCH] Add Docker Hub as registry to authenticate with --- .github/workflows/vulnerability-comparison.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/vulnerability-comparison.yaml b/.github/workflows/vulnerability-comparison.yaml index b0a702b4..fe27a1f9 100644 --- a/.github/workflows/vulnerability-comparison.yaml +++ b/.github/workflows/vulnerability-comparison.yaml @@ -33,6 +33,7 @@ jobs: - name: Login to Docker Hub uses: docker/login-action@v3 with: + registry: ${{ env.REGISTRY }} username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push Docker image