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 \