ci(agent): Fix Docker CI for PR runs from forks

- Disable 'Log in to Docker hub' step for `pull_request` runs
This commit is contained in:
Reinier van der Leer
2024-03-22 12:50:58 +01:00
parent 07a3c1848c
commit 9e39937072

View File

@@ -105,7 +105,8 @@ jobs:
with:
submodules: true
- name: Log in to Docker hub
- if: github.event_name == 'push'
name: Log in to Docker hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}