Skip to content

Commit 087d0e5

Browse files
authored
Add check
1 parent b47bcf7 commit 087d0e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-single-product-part.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ jobs:
263263
ecr_repository: ${{ steps.get-parameters.outputs.ecr_repo }}
264264
image_tag: ${{ inputs.image_tag1 }}
265265
- name: check scan results
266+
if: ${{ steps.get-parameters.outputs.skip_image_check != 'true' }}
266267
run: |
267268
if [ "${{ steps.get-ecr-scan-result.outputs.critical }}" != "null" ] || [ "${{ steps.get-ecr-scan-result.outputs.high }}" != "null" ]; then
268269
echo "Docker image contains vulnerabilities at critical or high level"

0 commit comments

Comments
 (0)