We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ea6226 commit 9789cdeCopy full SHA for 9789cde
pkg/skaffold/build/kaniko/sources/localdir.go
@@ -48,7 +48,7 @@ type LocalDir struct {
48
49
// Setup for LocalDir creates a tarball of the buildcontext and stores it in /tmp
50
func (g *LocalDir) Setup(ctx context.Context, out io.Writer, artifact *latest.Artifact, initialTag string) (string, error) {
51
- g.tarPath = filepath.Join("os.TempDir()", fmt.Sprintf("context-%s.tar.gz", initialTag))
+ g.tarPath = filepath.Join(os.TempDir(), fmt.Sprintf("context-%s.tar.gz", initialTag))
52
color.Default.Fprintln(out, "Storing build context at", g.tarPath)
53
54
f, err := os.Create(g.tarPath)
0 commit comments