File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ jobs:
266266 run : docker logout ${{ steps.login-ecr.outputs.registry }}
267267
268268 - name : Scan image
269- if : ${{ skip_image_scan != true && fromJson(vars.SKIP_IMAGE_SCAN) != true && matrix.component.skip_image_scan != true }}
269+ if : ${{ inputs. skip_image_scan != true && fromJson(vars.SKIP_IMAGE_SCAN) != true && matrix.component.skip_image_scan != true }}
270270 id : get-ecr-scan-result
271271 uses : ./tmp/github-workflows/.github/actions/get-ecr-scan-result
272272 with :
@@ -276,7 +276,7 @@ jobs:
276276 ecr_repository : ${{ matrix.component.ecr_repository }}
277277 image_tag : ${{ matrix.component.image_tag }}
278278 - name : Check scan results
279- if : ${{ skip_image_scan != true && fromJson(vars.SKIP_IMAGE_SCAN) != true && matrix.component.skip_image_scan != true }}
279+ if : ${{ inputs. skip_image_scan != true && fromJson(vars.SKIP_IMAGE_SCAN) != true && matrix.component.skip_image_scan != true }}
280280 run : |
281281 if [ "${{ steps.get-ecr-scan-result.outputs.critical }}" != "null" ] || [ "${{ steps.get-ecr-scan-result.outputs.high }}" != "null" ]; then
282282 echo "Docker image contains vulnerabilities at critical or high level"
You can’t perform that action at this time.
0 commit comments