added conditions to tag
This commit is contained in:
@@ -123,6 +123,9 @@ jobs:
|
|||||||
tag:
|
tag:
|
||||||
name: Create Tag
|
name: Create Tag
|
||||||
needs: [docker-build-and-push, set-tag]
|
needs: [docker-build-and-push, set-tag]
|
||||||
|
if: |
|
||||||
|
needs.set-tag.outputs.should_tag == 'true' &&
|
||||||
|
github.event_name != 'pull_request'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
Reference in New Issue
Block a user