have DockerHub login use username secret instead

This commit is contained in:
perf3ct 2024-07-31 12:03:53 -07:00
parent 2a09c620fd
commit c104475cd6
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232

View File

@ -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