From 1e8103a0825d7e4ae1fabe0f86d8b13d02a915dd Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Tue, 7 Nov 2023 15:26:04 -0500 Subject: [PATCH] remove "event_name == 'push' in push-only workflow --- .github/workflows/push-ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push-ci.yaml b/.github/workflows/push-ci.yaml index edc4bcf49..a874ef3a2 100644 --- a/.github/workflows/push-ci.yaml +++ b/.github/workflows/push-ci.yaml @@ -111,7 +111,7 @@ jobs: podman rmi ${{ env.CI_IMG }}:latest ${{ env.CI_IMG }}:dev ${{ env.CI_IMG }}:${{ env.IMAGE_VERSION }} continue-on-error: true - name: Build container images and manifest - if: ${{ matrix.java == '17' }} && ${{ github.event_name == 'push' && github.repository_owner == 'cryostatio' }} + if: ${{ matrix.java == '17' }} && ${{ github.repository_owner == 'cryostatio' }} id: buildah-build uses: redhat-actions/buildah-build@v2 with: @@ -130,7 +130,7 @@ jobs: registry: ${{ env.CI_REGISTRY }} username: ${{ env.CI_USER }} password: ${{ secrets.REGISTRY_PASSWORD }} - if: ${{ matrix.java == '17' }} && ${{ github.event_name == 'push' && github.repository_owner == 'cryostatio' }} + if: ${{ matrix.java == '17' }} && ${{ github.repository_owner == 'cryostatio' }} - name: Print image URL run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}" - if: ${{ matrix.java == '17' }} && ${{ github.event_name == 'push' && github.repository_owner == 'cryostatio' }} + if: ${{ matrix.java == '17' }} && ${{ github.repository_owner == 'cryostatio' }}