From c104475cd600d21817c771ac0e9b13cbdaf1c1fd Mon Sep 17 00:00:00 2001 From: perf3ct Date: Wed, 31 Jul 2024 12:03:53 -0700 Subject: [PATCH] have DockerHub login use username secret instead --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5e7d1288f..415a2f7fa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -197,7 +197,7 @@ jobs: uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 with: registry: ${{ env.DOCKERHUB_REGISTRY }} - username: ${{ github.actor }} + username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push image to DockerHub uses: docker/build-push-action@v6