Merge pull request #4771 from lucienbl/next

fix: pull latest image from registry when using build server
This commit is contained in:
Andras Bacsai 2025-02-12 10:31:38 +01:00 committed by GitHub
commit 619a42b11a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2284,7 +2284,7 @@ private function start_by_compose_file()
} else {
if ($this->use_build_server) {
$this->execute_remote_command(
["{$this->coolify_variables} docker compose --project-name {$this->application->uuid} --project-directory {$this->configuration_dir} -f {$this->configuration_dir}{$this->docker_compose_location} up --build -d", 'hidden' => true],
["{$this->coolify_variables} docker compose --project-name {$this->application->uuid} --project-directory {$this->configuration_dir} -f {$this->configuration_dir}{$this->docker_compose_location} up --pull always --build -d", 'hidden' => true],
);
} else {
$this->execute_remote_command(