Fix security job condition in build workflow
This commit is contained in:
parent
86d1a6735a
commit
175f9e735a
2
.github/workflows/build-images.yml
vendored
2
.github/workflows/build-images.yml
vendored
@ -158,7 +158,7 @@ jobs:
|
||||
security:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: ${{ env.PUSH_IMAGES == 'true' && !((inputs.skip_security == true) || (github.event.inputs.skip_security == 'true')) }}
|
||||
if: ${{ (github.event_name == 'push' || inputs.push_images == true || github.event.inputs.push_images == 'true') && !((inputs.skip_security == true) || (github.event.inputs.skip_security == 'true')) }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user