From b404c62ab697e9bd537ac4aba860a1c58d51f822 Mon Sep 17 00:00:00 2001 From: Kamil Zabielski <50334623+limakzi@users.noreply.github.com> Date: Wed, 9 Apr 2025 03:57:19 +0200 Subject: [PATCH] fix: Make a push if push on master --- .github/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 16af14c..618a3ac 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -67,7 +67,7 @@ jobs: with: context: ./src/dockerfiles/${{ matrix.image }} file: ./src/dockerfiles/${{ matrix.image }}/Dockerfile - push: ${{ ! github.event_name == 'pull_request' }} + push: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} platforms: linux/amd64,linux/arm64