Skip to content

Commit

Permalink
Move cached output to /bin
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjohnsonjr committed Dec 7, 2021
1 parent 8098926 commit f4f5608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/gobuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func build(ctx context.Context, ip string, dir string, platform v1.Platform, con

if dir := os.Getenv("KOCACHE"); dir != "" {
// TODO(#264): if KOCACHE is unset, default to filepath.Join(os.TempDir(), "ko").
tmpDir = filepath.Join(dir, ip, platformToString(platform))
tmpDir = filepath.Join(dir, "bin", ip, platformToString(platform))
if err := os.MkdirAll(tmpDir, os.ModePerm); err != nil {
return "", err
}
Expand Down

0 comments on commit f4f5608

Please sign in to comment.