fix: don't login to docker hub on fork PRs

Signed-off-by: bo0tzz <git@bo0tzz.me>
This commit is contained in:
bo0tzz
2024-11-08 10:57:54 +01:00
parent 9ff0e76b3b
commit 3f060f8604

View File

@@ -60,6 +60,7 @@ jobs:
- name: Login to Docker Hub
uses: docker/login-action@v3
if: ${{ !github.event.pull_request.head.repo.fork }}
with:
username: ${{ secrets.DOCKERIO_USERNAME }}
password: ${{ secrets.DOCKERIO_TOKEN }}