diff --git a/.github/workflows/Build_Push_Image.yml b/.github/workflows/Build_Push_Image.yml index d90350317..b2b7e870b 100644 --- a/.github/workflows/Build_Push_Image.yml +++ b/.github/workflows/Build_Push_Image.yml @@ -4,6 +4,13 @@ on: branches: - main pull_request: + types: + - labeled + - unlabeled + - opened + - edited + - reopened + - synchronize branches: - main @@ -108,6 +115,9 @@ jobs: body: ${{ steps.get-comment-body.outputs.body }} - name: Push To quay.io + if: | + (github.event.label.name == 'pr-deployment' && github.event_name == 'pull_request') || + github.event.label.name == 'push' id: push-to-quay uses: redhat-actions/push-to-registry@v2 with: