From 668716eed4dac25dd46bf6329a2703955eb146b9 Mon Sep 17 00:00:00 2001 From: Nico Trummer <52698566+nictru@users.noreply.github.com> Date: Sun, 2 Jun 2024 17:52:49 +0200 Subject: [PATCH] Disable push on PR --- .github/workflows/docker-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 952b90e..0ebd9fd 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -29,7 +29,7 @@ jobs: name: Build and push uses: docker/bake-action@v4 with: - push: true + push: ${{ github.event_name != 'pull_request' }} set: | *.cache-from=type=gha *.cache-to=type=gha,mode=max