From eaf8aba0f4908fe2ac854a730576ae20d72ba5d6 Mon Sep 17 00:00:00 2001 From: Joao Pereira Date: Fri, 2 Sep 2022 16:04:18 -0500 Subject: [PATCH] Remove credentialprovider patch check on build-binaries Signed-off-by: Joao Pereira --- hack/build-binaries.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/hack/build-binaries.sh b/hack/build-binaries.sh index 3de3294f..f16b9480 100755 --- a/hack/build-binaries.sh +++ b/hack/build-binaries.sh @@ -12,17 +12,6 @@ go fmt ./cmd/... ./pkg/... ./test/... go mod vendor go mod tidy -# related to https://github.com/vmware-tanzu/carvel-imgpkg/pull/255 -# there doesn't appear to be a simple way to disable the defaultDockerConfigProvider -# Having defaultDockerConfigProvider enabled by default results in the imgpkg auth ordering not working correctly -# Specifically, the docker config.json is loaded before cli flags (and maybe even IaaS metadata services) -git apply --ignore-space-change --ignore-whitespace ./hack/patch-k8s-pkg-credentialprovider.patch - -git diff --exit-code || { - echo 'found changes in the project. when expected none. exiting' - exit 1 -} - # makes builds reproducible export CGO_ENABLED=0 LDFLAGS="-X github.com/vmware-tanzu/carvel-imgpkg/pkg/imgpkg/cmd.Version=$VERSION"