fix
This commit is contained in:
parent
f246d06629
commit
8c94bcb27b
@ -89,7 +89,7 @@ public function handle(): void
|
|||||||
|
|
||||||
// Pull builder image
|
// Pull builder image
|
||||||
$this->executeNow([
|
$this->executeNow([
|
||||||
"echo 'Starting deployment of {$this->application->git_repository}:{$this->application->git_branch}...",
|
"echo 'Starting deployment of {$this->application->git_repository}:{$this->application->git_branch}...'",
|
||||||
"echo -n 'Pulling latest version of the builder image (ghcr.io/coollabsio/coolify-builder)... '",
|
"echo -n 'Pulling latest version of the builder image (ghcr.io/coollabsio/coolify-builder)... '",
|
||||||
"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 2>&1",
|
"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 2>&1",
|
||||||
"echo 'Done.'",
|
"echo 'Done.'",
|
||||||
@ -245,7 +245,6 @@ private function set_labels_for_applications()
|
|||||||
private function executeNow(array $command, string $propertyName = null, bool $hideFromOutput = false)
|
private function executeNow(array $command, string $propertyName = null, bool $hideFromOutput = false)
|
||||||
{
|
{
|
||||||
$commandText = collect($command)->implode("\n");
|
$commandText = collect($command)->implode("\n");
|
||||||
dd($commandText);
|
|
||||||
|
|
||||||
$this->activity->properties = $this->activity->properties->merge([
|
$this->activity->properties = $this->activity->properties->merge([
|
||||||
'command' => $commandText,
|
'command' => $commandText,
|
||||||
|
Loading…
Reference in New Issue
Block a user