diff --git a/.github/actions/artifacts_build/action.yml b/.github/actions/artifacts_build/action.yml index 3dc7b3c65..f75a8bf50 100644 --- a/.github/actions/artifacts_build/action.yml +++ b/.github/actions/artifacts_build/action.yml @@ -94,7 +94,8 @@ runs: load: ${{ inputs.load_image }} - name: Perform image scan + if: ${{ inputs.push_image == true || inputs.push_image == 'true' }} uses: ./.github/actions/image_scan with: image-ref: ${{ inputs.image_uri_with_tag }} - severity: 'CRITICAL,HIGH,MEDIUM,LOW,UNKNOWN' \ No newline at end of file + severity: 'CRITICAL,HIGH,MEDIUM,LOW,UNKNOWN'