ci(docker): enabled push to registry when PR base br is main
This commit is contained in:
@@ -42,7 +42,7 @@ jobs:
|
||||
contents: read
|
||||
packages: write
|
||||
with:
|
||||
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
|
||||
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') || github.event.pull_request.base.ref == 'main' }}
|
||||
secrets: inherit
|
||||
|
||||
notify-main:
|
||||
|
||||
Reference in New Issue
Block a user