From 73f821907c3e9d44ee27429497038f27288a6912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Th=C3=B6mmes?= Date: Tue, 27 Apr 2021 02:46:39 +0200 Subject: [PATCH] Drop --strict flag on ko (#1295) --- hack/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/release.sh b/hack/release.sh index f0a457976..dc3ef9c69 100755 --- a/hack/release.sh +++ b/hack/release.sh @@ -42,7 +42,7 @@ function build_release() { echo "🚧 P Building for Linux (ppc64le)" GOOS=linux GOARCH=ppc64le go build -mod=vendor -ldflags "${ld_flags}" -o ./kn-linux-ppc64le ./cmd/... echo "🚧 🐳 Building the container image" - ko resolve --strict ${KO_FLAGS} -f config/ > kn-image-location.yaml + ko resolve ${KO_FLAGS} -f config/ > kn-image-location.yaml ARTIFACTS_TO_PUBLISH="kn-darwin-amd64 kn-linux-amd64 kn-linux-arm64 kn-windows-amd64.exe kn-linux-s390x kn-linux-ppc64le kn-image-location.yaml" sha256sum ${ARTIFACTS_TO_PUBLISH} > checksums.txt ARTIFACTS_TO_PUBLISH="${ARTIFACTS_TO_PUBLISH} checksums.txt"