From 05d8de06711d0c68dcd0d116b64099e6952a6e89 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Thu, 23 Feb 2023 13:47:39 -0700 Subject: [PATCH] ci(container): tweak options --- .github/workflows/container.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/container.yaml b/.github/workflows/container.yaml index dab701411..4a7bd26b0 100644 --- a/.github/workflows/container.yaml +++ b/.github/workflows/container.yaml @@ -53,7 +53,6 @@ jobs: with: context: . containerfiles: ./Containerfile - image: my-new-image platforms: linux/amd64,linux/arm64 labels: ${{ steps.metadata.outputs.labels }} tags: ${{ steps.metadata.outputs.tags }} @@ -61,6 +60,7 @@ jobs: - name: Push to GitHub Container Registry uses: redhat-actions/push-to-registry@v2 + if: "github.event_name != 'pull_request'" with: image: ${{ steps.build.outputs.image }} tags: ${{ steps.build.outputs.tags }}