Skip to content

Conversation

@jdolitsky
Copy link
Member

No description provided.

@jdolitsky jdolitsky requested a review from luhring June 28, 2023 19:54
@jdolitsky jdolitsky requested review from a team as code owners June 28, 2023 19:54
@jdolitsky jdolitsky requested a review from ajayk June 28, 2023 19:54
@jdolitsky jdolitsky force-pushed the grype-scan-in-ci branch 3 times, most recently from a19041a to b43625e Compare June 28, 2023 20:22
@jdolitsky jdolitsky enabled auto-merge June 28, 2023 20:31
@jdolitsky jdolitsky requested a review from kaniini June 28, 2023 20:35
@jdolitsky jdolitsky added this pull request to the merge queue Jun 28, 2023
Merged via the queue into wolfi-dev:main with commit cbed14c Jun 28, 2023
@jdolitsky jdolitsky deleted the grype-scan-in-ci branch June 28, 2023 20:38
Comment on lines +87 to +97
# Note: vulns found in scans do not currently block CI
- name: 'Grype scan APKs'
id: grype-scan
if: steps.file_check.outputs.exists == 'true'
run: |
set -x
for line in `cat packages.log`; do
# convert the melange output (e.g. "x86_64|grype|grype|0.63.0-r1" ) to an actual apk path
apk_path=$(echo "${line}" | awk '{ split($1, pkg, "|"); printf("packages/%s/%s-%s.apk\n", pkg[1], pkg[2], pkg[4]) }')
./scripts/grype-scan-apk.sh "${apk_path}"
done
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants