From 7b6d03675b1fac8ce90a9273c862548d5324ab24 Mon Sep 17 00:00:00 2001 From: Sven Pfleiderer Date: Wed, 2 Jun 2021 15:58:44 -0700 Subject: [PATCH] Revert "Remove pull request condition" This reverts commit 9d73235e0373a25865567ea98cba64564503fe68. --- ci/docker-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/docker-publish.yml b/ci/docker-publish.yml index 84c07c5..3a5a084 100644 --- a/ci/docker-publish.yml +++ b/ci/docker-publish.yml @@ -75,5 +75,7 @@ jobs: - name: Build and push Docker image uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc with: + # Don't push on pull requests + push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}