Skip to content

Commit f323930

Browse files
feat: remove skip_image_scan (#201)
1 parent aa255ca commit f323930

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

.github/workflows/build-docker-artifacts-config.schema.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535
"type": "string",
3636
"description": "ECR repository to push the image to"
3737
},
38-
"skip_image_scan": {
39-
"type": "boolean",
40-
"default": false,
41-
"description": "[Deprecated: use scan_high_severity or the .trivyignore file instead] Skip scanning the image for vulnerabilities"
42-
},
4338
"scan_high_severity": {
4439
"type": "boolean",
4540
"default": true,

.github/workflows/build-docker-artifacts.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ on:
2222
type: boolean
2323
required: false
2424
default: true
25-
skip_image_scan:
26-
type: boolean
27-
required: false
28-
default: false
2925
scan_high_severity:
3026
description: 'Include high severity'
3127
type: boolean
@@ -258,7 +254,6 @@ jobs:
258254
echo "severity=HIGH,CRITICAL" >> "$GITHUB_OUTPUT"
259255
fi
260256
- name: Run Trivy vulnerability scanner
261-
if: ${{ inputs.skip_image_scan != true && fromJson(vars.SKIP_IMAGE_SCAN || 'false') != true && matrix.component.skip_image_scan != true }}
262257
uses: aquasecurity/[email protected]
263258
with:
264259
image-ref: ${{ vars.DV_AWS_ECR_REGISTRY }}/${{ matrix.component.ecr_repository }}:${{ matrix.component.image_tag }}

0 commit comments

Comments
 (0)