From a7bc9251554c7387f07a5dee66a7d1f16bda4210 Mon Sep 17 00:00:00 2001 From: fwcd Date: Mon, 11 Sep 2023 21:07:51 +0200 Subject: [PATCH] Fix push event Currently, tag (release) builds of the Docker image wouldn't be pushed. --- .github/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 0f1d4c0e4..5341a5db8 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -33,6 +33,6 @@ jobs: with: context: . platforms: linux/amd64,linux/arm64/v8 - push: ${{ github.ref == 'refs/heads/main' }} + push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}