diff options
author | Reinier van der Leer <pwuts@agpt.co> | 2023-12-03 17:35:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-03 17:35:03 +0100 |
commit | b8b792e844bfe91656d5f3c22bcd47680315499f (patch) | |
tree | 2e23bd166a61caa29965430b04cc8560da09d9b2 /.github | |
parent | Update cassette submodule (diff) | |
download | Auto-GPT-b8b792e844bfe91656d5f3c22bcd47680315499f.tar.gz Auto-GPT-b8b792e844bfe91656d5f3c22bcd47680315499f.tar.bz2 Auto-GPT-b8b792e844bfe91656d5f3c22bcd47680315499f.zip |
ci: Fix issue in Docker CI
* Stop Docker CI pushing images from PR workflow runs
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/autogpt-docker-ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/autogpt-docker-ci.yml b/.github/workflows/autogpt-docker-ci.yml index 0b4ce7a6b..4588f2869 100644 --- a/.github/workflows/autogpt-docker-ci.yml +++ b/.github/workflows/autogpt-docker-ci.yml @@ -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 }} |