Use ghcr.io builder image

This commit is contained in:
Andras Bacsai 2023-03-28 22:26:12 +02:00
parent 8e0c1027bb
commit 9019d1484e

View File

@ -21,8 +21,7 @@ private function execute_in_builder(string $command)
}
private function start_builder_container()
{
// @TODO: Add --pull=always if the container is published to ghcr.io
$this->command[] = "docker run -d --name {$this->deployment_uuid} --rm -v /var/run/docker.sock:/var/run/docker.sock coolify-builder >/dev/null";
$this->command[] = "docker run --pull=always -d --name {$this->deployment_uuid} --rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/coollabsio/coolify-builder >/dev/null";
}
public function deploy()
{