Skip to content

Commit

Permalink
remove "event_name == \push' in push-only workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Nov 7, 2023
1 parent 89c5449 commit c30e6b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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' }}

0 comments on commit c30e6b3

Please sign in to comment.