From 16f1281d38976dfaec0eecfe451c563f5e208ec2 Mon Sep 17 00:00:00 2001 From: mudler Date: Thu, 13 Apr 2023 01:16:13 +0200 Subject: [PATCH] Minor workflow fixes --- .github/workflows/image.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index bf97850..2a46791 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -2,6 +2,7 @@ name: 'build container images' on: + pull_request: push: branches: - master @@ -55,7 +56,7 @@ jobs: registry: quay.io username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_PASSWORD }} - - name: Build PRs + - name: Build if: github.event_name != 'pull_request' uses: docker/build-push-action@v4 with: @@ -65,7 +66,7 @@ jobs: platforms: linux/amd64,linux/arm64,linux/arm push: true tags: ${{ steps.prep.outputs.tags }} - - name: Build + - name: Build PRs if: github.event_name == 'pull_request' uses: docker/build-push-action@v4 with: