diff options
Diffstat (limited to 'recipes-containers/kubernetes/kubernetes_git.bb')
-rw-r--r-- | recipes-containers/kubernetes/kubernetes_git.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-containers/kubernetes/kubernetes_git.bb b/recipes-containers/kubernetes/kubernetes_git.bb index 9923c4e8..caa5ec17 100644 --- a/recipes-containers/kubernetes/kubernetes_git.bb +++ b/recipes-containers/kubernetes/kubernetes_git.bb | |||
@@ -71,6 +71,11 @@ do_compile() { | |||
71 | export CC="${BUILD_CC}" | 71 | export CC="${BUILD_CC}" |
72 | export LD="${BUILD_LD}" | 72 | export LD="${BUILD_LD}" |
73 | 73 | ||
74 | # set the toolchain to local to avoid an attempted fetch of | ||
75 | # valiation by the build | ||
76 | # https://github.com/actions/setup-go/issues/420 | ||
77 | export GOTOOLCHAIN="local" | ||
78 | |||
74 | # make generated_files GO="go" KUBE_BUILD_PLATFORMS="${HOST_GOOS}/${BUILD_GOARCH}" | 79 | # make generated_files GO="go" KUBE_BUILD_PLATFORMS="${HOST_GOOS}/${BUILD_GOARCH}" |
75 | # is replaced by: | 80 | # is replaced by: |
76 | # ./hack/update-codegen.sh | 81 | # ./hack/update-codegen.sh |