Fix GH Action for PRs from forks (#23)

This commit is contained in:
Icereed 2024-10-21 09:50:03 +02:00 committed by GitHub
parent 8b28edb4f7
commit d1e990ff4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,6 +60,7 @@ jobs:
uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
@ -88,4 +89,4 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ${{ env.TAGS }}
tags: ${{ env.TAGS }}