mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-23 07:04:24 +01:00
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:
3
.github/workflows/autogpt-docker-ci.yml
vendored
3
.github/workflows/autogpt-docker-ci.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user