Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,21 @@ jobs:
run: docker build -t digest-engine-ci:${{ github.sha }} -f
docker/web/Dockerfile .

- name: Prepare Trivy directories
run: |
mkdir -p "${{ github.workspace }}/.trivy-tmp"
mkdir -p "${{ github.workspace }}/.trivy-cache"

- name: Scan backend image with Trivy
uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
env:
TMPDIR: ${{ github.workspace }}/.trivy-tmp
TRIVY_TEMP_DIR: ${{ github.workspace }}/.trivy-tmp
with:
image-ref: digest-engine-ci:${{ github.sha }}
scan-type: image
cache-dir: ${{ github.workspace }}/.trivy-cache
trivyignores: .trivyignore
scanners: vuln
severity: HIGH,CRITICAL
ignore-unfixed: true
Expand Down
4 changes: 4 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Temporary exception:
# cryptography is constrained to <47 by atproto (current latest 0.0.69).
# Remove this ignore once atproto supports cryptography >=48 and upgrade cryptography.
GHSA-537c-gmf6-5ccf
Loading
Loading