fix: always pull helper image in dev

This commit is contained in:
Andras Bacsai 2023-10-02 09:37:55 +02:00
parent 46a72fac47
commit fd9c13009f

View File

@ -379,9 +379,6 @@ private function deploy_pull_request()
private function prepare_builder_image()
{
$pull = "--pull=always";
if (isDev()) {
$pull = "--pull=never";
}
$helperImage = config('coolify.helper_image');
$runCommand = "docker run {$pull} -d --network {$this->destination->network} -v /:/host --name {$this->deployment_uuid} --rm -v /var/run/docker.sock:/var/run/docker.sock {$helperImage}";