Skip to content

Commit

Permalink
Merge pull request #595 from Sage-Bionetworks/FDS-1590-container-scan
Browse files Browse the repository at this point in the history
Fds 1590 container scan
  • Loading branch information
afwillia authored Mar 15, 2024
2 parents 552a65b + bfb31b1 commit 492465b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,16 @@ jobs:
build-args: |
DCA_VERSION=${{ env.DCA_VERSION }}
- name: Lowercase image name for trivy
id: string
uses: ASzc/change-string-case-action@v6
with:
string: ${{ env.IMAGE_PATH }}

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: '${{ steps.string.outputs.lowercase }}:${{ steps.meta.outputs.version }}'
format: 'table'
ignore-unfixed: true
severity: 'CRITICAL,HIGH'

0 comments on commit 492465b

Please sign in to comment.