File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ jobs:
155
155
156
156
- name : Install Trivy
157
157
run : |
158
- curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.62.1
158
+ curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.66.0
159
159
160
160
- name : Install yq
161
161
run : |
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
set -eo pipefail
3
3
4
+ # Disable telemetry and version check:
5
+ # https://github.com/aquasecurity/trivy/discussions/8945
6
+ export TRIVY_DISABLE_TELEMETRY=true
7
+ export TRIVY_SKIP_VERSION_CHECK=true
8
+
4
9
# Global variables
5
10
scan_common_args=" \
6
11
--exit-code 1 \
@@ -22,7 +27,7 @@ usage() {
22
27
# Check dependencies are installed, print installation instructions otherwise
23
28
check_deps_installed () {
24
29
if ! trivy --version > /dev/null; then
25
- echo ' Please install trivy: curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.62.1 '
30
+ echo ' Please install trivy: curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.66.0 '
26
31
exit 1
27
32
fi
28
33
if ! yq --version > /dev/null; then
You can’t perform that action at this time.
0 commit comments