fix: helper image only pulled if required, not every 10 mins

This commit is contained in:
Andras Bacsai committed 2024-04-15 11:11:58 +02:00
1 parent f8a2ee9a8d
commit fe872a59ca
2 files changed
+6 -2

No files matched your search

+4
View File
@@ -902,6 +902,10 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
}
$this->application_deployment_queue->addLogEntry("Preparing container with helper image: $helperImage.");
$this->execute_remote_command(
[
"command" => "docker pull -q {$helperImage}",
"hidden" => true
],
[
"command" => "docker rm -f {$this->deployment_uuid}",
"ignore_errors" => true,