mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-31 20:04:28 +01:00
ci: Fix issue in Docker CI
* Stop Docker CI pushing images from PR workflow runs
This commit is contained in:
committed by
GitHub
parent
b1419e856c
commit
b8b792e844
3
.github/workflows/autogpt-docker-ci.yml
vendored
3
.github/workflows/autogpt-docker-ci.yml
vendored
@@ -146,5 +146,6 @@ jobs:
|
||||
|
||||
exit $test_failure
|
||||
|
||||
- name: Push image to Docker Hub
|
||||
- if: github.event_name == 'push' && github.ref_name == 'master'
|
||||
name: Push image to Docker Hub
|
||||
run: docker push ${{ env.DEPLOY_IMAGE_NAME }}:${{ env.DEV_IMAGE_TAG }}
|
||||
|
||||
Reference in New Issue
Block a user