File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ jobs:
133
133
134
134
- name : Install Trivy
135
135
run : |
136
- curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.49.0
136
+ curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.55.2
137
137
138
138
- name : Install yq
139
139
run : |
@@ -226,8 +226,6 @@ jobs:
226
226
227
227
- name : Scan built container images
228
228
run : src/kayobe-config/tools/scan-images.sh ${{ matrix.distro }} ${{ steps.write-kolla-tag.outputs.kolla-tag }}
229
- env :
230
- TRIVY_DB_REPOSITORY : " public.ecr.aws/aquasecurity/trivy-db:2"
231
229
232
230
- name : Move image scan logs to output artifact
233
231
run : mv image-scan-output image-build-logs/image-scan-output
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ for image in $images; do
54
54
--severity HIGH,CRITICAL \
55
55
--output image-scan-output/${filename} .json \
56
56
--ignore-unfixed \
57
+ --db-repository public.ecr.aws/aquasecurity/trivy-db:2 \
57
58
$image ) ; then
58
59
# Clean up the output file for any images with no vulnerabilities
59
60
rm -f image-scan-output/${filename} .json
You can’t perform that action at this time.
0 commit comments