From 6cc602bc7063472b08a8c2798c89cb79ea7bb2e4 Mon Sep 17 00:00:00 2001 From: Michael Parker Date: Wed, 30 Aug 2023 11:17:03 -0500 Subject: [PATCH] fix: build and push on tag events --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c626dc..14e2eef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,7 +48,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v4 with: - push: ${{ github.ref == 'refs/heads/master' }} + push: ${{ github.event_name != 'pull_request' }} platforms: linux/amd64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}