From dfb77f5636ce6b1557bcb18485ec2ffa11b4eba9 Mon Sep 17 00:00:00 2001 From: Martin Muzikar Date: Wed, 13 Dec 2023 15:03:03 +0100 Subject: [PATCH] Skip deploying for PRs --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68d90ce..4acac07 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,6 +33,7 @@ jobs: run: | mvn --batch-mode --no-transfer-progress install -Djkube.build.strategy=docker - name: Push image to Quay.io + if: github.event_name == 'push' env: USERNAME: ${{ secrets.QUAY_USERNAME }} PASSWORD: ${{ secrets.QUAY_PASSWORD }}