Switch to /bin/tar
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Adam Štrauch 2022-07-23 00:33:34 +02:00
parent 5b63a0d9aa
commit 8adbf84362
Signed by: cx
GPG key ID: 018304FFA8988F8D

View file

@ -137,7 +137,7 @@ func (s *SnapshotProcessor) CreateSnapshot(appName string, labels []string) (str
return snapshot.KeyName(s.IndexLabel), fmt.Errorf("change working directory error: %v", err)
}
err = exec.Command("/usr/bin/tar", "-acf", tmpSnapshotArchivePath, "./").Run()
err = exec.Command("/bin/tar", "-acf", tmpSnapshotArchivePath, "./").Run()
if err != nil {
return snapshot.KeyName(s.IndexLabel), fmt.Errorf("compression error: %v", err)
}