mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-12-04 00:06:39 +00:00
ci: give release image Trivy scans a 15m timeout
The default 5m is tight for windmill-ee-full and windmill-extra; applied to both scan jobs so their steps stay identical. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
42106baead
commit
c5af39bb4b
@@ -459,12 +459,12 @@ jobs:
|
||||
run: |
|
||||
mkdir -p scan
|
||||
trivy() { docker run --rm -v "$RUNNER_TEMP/trivy-cache:/root/.cache/trivy" -v "$PWD/scan:/out" "$TRIVY_IMAGE" "$@"; }
|
||||
trivy image -q --platform linux/amd64 \
|
||||
trivy image -q --platform linux/amd64 --timeout 15m \
|
||||
--scanners vuln --format json -o /out/full.json "$IMAGE_REF"
|
||||
.github/scripts/image-vex.sh \
|
||||
"https://github.com/windmill-labs/windmill/releases/tag/${GITHUB_REF_NAME}#${{ matrix.image }}" \
|
||||
scan/full.json > "scan/${{ matrix.image }}.openvex.json"
|
||||
trivy image -q --platform linux/amd64 \
|
||||
trivy image -q --platform linux/amd64 --timeout 15m \
|
||||
--scanners vuln --vex "/out/${{ matrix.image }}.openvex.json" \
|
||||
--format json -o "/out/${{ matrix.image }}.trivy.json" "$IMAGE_REF"
|
||||
trivy convert --format table \
|
||||
|
||||
@@ -235,12 +235,12 @@ jobs:
|
||||
run: |
|
||||
mkdir -p scan
|
||||
trivy() { docker run --rm -v "$RUNNER_TEMP/trivy-cache:/root/.cache/trivy" -v "$PWD/scan:/out" "$TRIVY_IMAGE" "$@"; }
|
||||
trivy image -q --platform linux/amd64 \
|
||||
trivy image -q --platform linux/amd64 --timeout 15m \
|
||||
--scanners vuln --format json -o /out/full.json "$IMAGE_REF"
|
||||
.github/scripts/image-vex.sh \
|
||||
"https://github.com/windmill-labs/windmill/releases/tag/${GITHUB_REF_NAME}#${{ matrix.image }}" \
|
||||
scan/full.json > "scan/${{ matrix.image }}.openvex.json"
|
||||
trivy image -q --platform linux/amd64 \
|
||||
trivy image -q --platform linux/amd64 --timeout 15m \
|
||||
--scanners vuln --vex "/out/${{ matrix.image }}.openvex.json" \
|
||||
--format json -o "/out/${{ matrix.image }}.trivy.json" "$IMAGE_REF"
|
||||
trivy convert --format table \
|
||||
|
||||
Reference in New Issue
Block a user