File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,11 +94,21 @@ jobs:
9494 run : docker build -t digest-engine-ci:${{ github.sha }} -f
9595 docker/web/Dockerfile .
9696
97+ - name : Prepare Trivy directories
98+ run : |
99+ mkdir -p "${{ github.workspace }}/.trivy-tmp"
100+ mkdir -p "${{ github.workspace }}/.trivy-cache"
101+
97102 - name : Scan backend image with Trivy
98103 uses : aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
104+ env :
105+ TMPDIR : ${{ github.workspace }}/.trivy-tmp
106+ TRIVY_TEMP_DIR : ${{ github.workspace }}/.trivy-tmp
99107 with :
100108 image-ref : digest-engine-ci:${{ github.sha }}
101109 scan-type : image
110+ cache-dir : ${{ github.workspace }}/.trivy-cache
111+ trivyignores : .trivyignore
102112 scanners : vuln
103113 severity : HIGH,CRITICAL
104114 ignore-unfixed : true
Original file line number Diff line number Diff line change 1+ # Temporary exception:
2+ # cryptography is constrained to <47 by atproto (current latest 0.0.69).
3+ # Remove this ignore once atproto supports cryptography >=48 and upgrade cryptography.
4+ GHSA-537c-gmf6-5ccf
You can’t perform that action at this time.
0 commit comments