Skip to content

Commit 7fbaf4f

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/vite-8.0.16
2 parents 4ff24eb + 4435827 commit 7fbaf4f

5 files changed

Lines changed: 625 additions & 690 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff 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

.trivyignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
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

0 commit comments

Comments
 (0)