From f3343813a975bd626dc31db03f2b7c5fff146400 Mon Sep 17 00:00:00 2001 From: Jesse Y Lin Date: Thu, 27 Jul 2023 15:51:07 +0200 Subject: [PATCH] ci: fix docker build on PRs --- .github/workflows/build-images.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 9b330c2..bbb5af9 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -77,6 +77,6 @@ jobs: uses: docker/build-push-action@v4 with: context: ${{ matrix.context }} - push: ${{ inputs.push-images }} + push: ${{ inputs.push-images || github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}