diff --git a/.github/workflows/.github-ci.yaml b/.github/workflows/.github-ci.yaml index 6c5516c..23b767e 100644 --- a/.github/workflows/.github-ci.yaml +++ b/.github/workflows/.github-ci.yaml @@ -1,7 +1,13 @@ name: ci on: - push: + # Start workflow on every push + #push: + # Start workflow on pull requests on specific branches + pull_request: + branches: + - main + - development jobs: docker: @@ -35,5 +41,7 @@ jobs: ${{ steps.repository.outputs.registry }}=${{ github.repository }}:${{ secrets.PACKAGES_TOKEN }} destinations: | ${{ steps.docker.outputs.tags }} - # push: ${{ github.event_name != 'pull_request' }} + # Fine grained control of pushing based on event name + #push: ${{ github.event_name != 'pull_request' }} + # Always push push: 'true'