fix: cleanup docker stuffs before upgrading

This commit is contained in:
Andras Bacsai
2024-01-12 08:45:24 +01:00
parent a2f53085e5
commit 79e0df1d43
3 changed files with 26 additions and 3 deletions

View File

@@ -22,6 +22,7 @@ class UpdateCoolify
if (!$this->server) {
return;
}
CleanupDocker::run($this->server, false);
$this->latestVersion = get_latest_version_of_coolify();
$this->currentVersion = config('version');
ray('latest version:' . $this->latestVersion . " current version: " . $this->currentVersion . ' force: ' . $force);