feat: pull latest images for services

This commit is contained in:
Andras Bacsai committed 2023-12-14 14:50:38 +01:00
1 parent a0abde8652
commit 75d1ec4f42
5 files changed
+61 -1

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ class StopService
use AsAction;
public function handle(Service $service)
{
ray('Stopping service: ' . $service->name);
$applications = $service->applications()->get();
foreach ($applications as $application) {
instant_remote_process(["docker rm -f {$application->name}-{$service->uuid}"], $service->server);