Merge tag 'nektos/v0.2.61'

This commit is contained in:
Jason Song
2024-04-01 14:23:16 +08:00
15 changed files with 472 additions and 160 deletions

View File

@@ -730,7 +730,7 @@ func (cr *containerReference) CopyTarStream(ctx context.Context, destPath string
tw := tar.NewWriter(buf)
_ = tw.WriteHeader(&tar.Header{
Name: destPath,
Mode: 777,
Mode: 0o777,
Typeflag: tar.TypeDir,
})
tw.Close()