From a58017f72fc241f1e1dad3a1394f0998d7030f37 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 16 Jan 2022 17:13:39 +0100 Subject: [PATCH] Add limiters to not do multiple pushes in a test build --- .github/workflows/github_action_test_suite.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_action_test_suite.yml b/.github/workflows/github_action_test_suite.yml index 4ed6114ba9..b2ee446eb8 100644 --- a/.github/workflows/github_action_test_suite.yml +++ b/.github/workflows/github_action_test_suite.yml @@ -123,7 +123,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push for master - if: github.ref == 'refs/heads/master' + if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == 3.7 && github.ref == 'refs/heads/master' id: docker_build_master uses: docker/build-push-action@v2 with: @@ -131,7 +131,7 @@ jobs: tags: evennia/evennia:latest - name: Build and push for develop - if: github.ref == 'refs/heads/develop' + if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == 3.7 && github.ref == 'refs/heads/develop' id: docker_build_develop uses: docker/build-push-action@v2 with: