From c5af39bb4bab3706b42e9d415982d4efe541eb96 Mon Sep 17 00:00:00 2001 From: Alexander Petric Date: Thu, 3 Dec 2026 15:26:00 -0500 Subject: [PATCH] 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 --- .github/workflows/docker-image.yml | 4 ++-- .github/workflows/publish_extra.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index ab51c96b6b..a062430389 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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 \ diff --git a/.github/workflows/publish_extra.yml b/.github/workflows/publish_extra.yml index 8beafc6244..741a29b11d 100644 --- a/.github/workflows/publish_extra.yml +++ b/.github/workflows/publish_extra.yml @@ -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 \