Skip to content

Commit

Permalink
Merge pull request #9113 from rook/mergify/bp/release-1.7/pr-9112
Browse files Browse the repository at this point in the history
Revert "ci: trigger push build action after tag creation" (backport #9112)
  • Loading branch information
BlaineEXE committed Nov 4, 2021
2 parents 4bfbb83 + e5cca41 commit 4ec49a2
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/push-build.yaml
Expand Up @@ -4,9 +4,8 @@ on:
branches:
- master
- release-*
workflow_run:
workflows: ["Tag"]
types: [completed]
tags:
- v*

defaults:
run:
Expand All @@ -16,12 +15,7 @@ defaults:
jobs:
push-image-to-container-registry:
runs-on: ubuntu-18.04
# github.repository == 'rook/rook': for running the test only in 'rook/rook' repo
# github.event_name == 'push': This is for any push to master or release branches
# github.event.workflow_run.conclusion == 'success': For the tagged workflow completion
if: |
github.repository == 'rook/rook' &&
(github.event_name == 'push' || github.event.workflow_run.conclusion == 'success')
if: github.repository == 'rook/rook'
steps:
- name: checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 4ec49a2

Please sign in to comment.