Skip to content

Commit 1ebf0b0

Browse files
authored
only push when push to main (#23)
Signed-off-by: Paige Rubendall <prubenda@redhat.com>
1 parent 8014654 commit 1ebf0b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-push.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
2222
- name: Push orion image to quay.io
2323
id: push-front-to-quay
24+
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
2425
uses: redhat-actions/push-to-registry@v2
2526
with:
2627
image: ${{ steps.build-orion.outputs.image }}

0 commit comments

Comments
 (0)