From 0f1887d5d245fc29e3abcfa31b33e22036d923e4 Mon Sep 17 00:00:00 2001 From: Predrag Rogic Date: Tue, 22 Oct 2024 20:14:34 +0100 Subject: [PATCH] revert trivy to v0.54.1 --- README.md | 6 +++--- hooks/pre-checkout | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 69c5326..ca87a22 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ with the default plugin configuration parameters: steps: - command: ls plugins: - - equinixmetal-buildkite/trivy#v1.18.5: + - equinixmetal-buildkite/trivy#v1.19.1: ``` ## Additional examples @@ -37,7 +37,7 @@ the pipeline when there are vulnerabilities: steps: - command: ls plugins: - - equinixmetal-buildkite/trivy#v1.18.5: + - equinixmetal-buildkite/trivy#v1.19.1: exit-code: 1 ``` @@ -49,7 +49,7 @@ vulnerabilities: steps: - command: ls plugins: - - equinixmetal-buildkite/trivy#v1.18.5: + - equinixmetal-buildkite/trivy#v1.19.1: severity: "CRITICAL" ``` diff --git a/hooks/pre-checkout b/hooks/pre-checkout index fee6b33..0058a1a 100755 --- a/hooks/pre-checkout +++ b/hooks/pre-checkout @@ -29,7 +29,7 @@ # - which # - mkdir -readonly TRIVY_DEFAULT_VERSION="0.55.2" +readonly TRIVY_DEFAULT_VERSION="0.54.1" export TRIVY_VERSION="${BUILDKITE_PLUGIN_TRIVY_TRIVY_VERSION:-$TRIVY_DEFAULT_VERSION}" REMOVE_FILE_ON_ERR="" @@ -49,7 +49,7 @@ display_error() { # environment and uses it to build the OS and CPU string that # appears in each trivy release's file name. # -# For example, the string for "trivy_0.31.3_FreeBSD-32bit.tar.gz" +# For example, the string for "trivy_0.31.3_FreeBSD-32bit.tar.gz" # would be "FreeBSD-32bit". trivy_os_cpu_string() { local UNAME_INFO=""