Fix security stage image availability
This commit is contained in:
parent
727d04e51e
commit
1b5842bae6
4
.github/workflows/build-images.yml
vendored
4
.github/workflows/build-images.yml
vendored
@ -133,7 +133,7 @@ jobs:
|
||||
context: ${{ matrix.service.workdir }}
|
||||
file: ${{ matrix.service.dockerfile }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: false
|
||||
push: ${{ env.PUSH_IMAGES }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
build-args: |
|
||||
@ -158,7 +158,7 @@ jobs:
|
||||
security:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: ${{ !((inputs.skip_security == true) || (github.event.inputs.skip_security == 'true')) }}
|
||||
if: ${{ env.PUSH_IMAGES == 'true' && !((inputs.skip_security == true) || (github.event.inputs.skip_security == 'true')) }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user