diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index ad0ea34..e3da964 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -13,6 +13,7 @@ on: jobs: build: runs-on: ubuntu-latest + if: ${{ (github.event.workflow_run.conclusion == 'success') && (github.event_name == 'push') && (contains(github.ref, 'refs/tags/')) }} env: BUILD_DEPENDENCIES: "build~=0.10.0" steps: