diff --git a/internal/app/deploy_service.go b/internal/app/deploy_service.go index d86359c..04923c0 100644 --- a/internal/app/deploy_service.go +++ b/internal/app/deploy_service.go @@ -182,6 +182,7 @@ func runGoBuildForUser(unixUser, repoDir, binaryPath string) error { "GOPATH="+goPath, "GOMODCACHE="+goModCache, "GOCACHE="+goCache, - "go", "-C", repoDir, "build", "-o", binaryPath, ".", + "GOTOOLCHAIN=local", + "go", "-C", repoDir, "build", "-buildvcs=false", "-o", binaryPath, ".", ) }