From b76118dfd864f63097703b04a086074970d79634 Mon Sep 17 00:00:00 2001 From: killianmuldoon Date: Wed, 30 Aug 2023 10:39:15 +0100 Subject: [PATCH] Make GO_ARCH explicit in verify_containter script Signed-off-by: killianmuldoon --- hack/verify-container-images.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/verify-container-images.sh b/hack/verify-container-images.sh index f7a617d31539..187cd455baa1 100755 --- a/hack/verify-container-images.sh +++ b/hack/verify-container-images.sh @@ -23,6 +23,7 @@ if [[ "${TRACE-0}" == "1" ]]; then fi VERSION=${1} +GO_ARCH="$(go env GOARCH)" REPO_ROOT=$(git rev-parse --show-toplevel) "${REPO_ROOT}/hack/ensure-trivy.sh" "${VERSION}"