app: added helm tgz handle

This commit is contained in:
2026-03-12 16:59:29 +02:00
parent 0d67944966
commit 95ed9ddb97
3182 changed files with 957097 additions and 133 deletions
+1 -5
View File
@@ -72,8 +72,8 @@ func (cli *Client) PushImage(ctx context.Context, filepath, imagepath string) er
dstdir := auxtool.MakeTmpFilename(filepath)
err = auxutar.Unarchive(filepath, dstdir)
defer os.RemoveAll(dstdir)
if err != nil {
//os.RemoveAll(dstdir)
return err
}
image, err := imageLoader(dstdir)
@@ -84,10 +84,6 @@ func (cli *Client) PushImage(ctx context.Context, filepath, imagepath string) er
if err != nil {
return err
}
err = os.RemoveAll(dstdir)
if err != nil {
return err
}
return err
}