fix: remove quotes in COOLIFY_CONTAINER_NAME
This commit is contained in:
parent
bae8b9a938
commit
c4bf91e5b4
2 changed files with 3 additions and 3 deletions
|
|
@ -924,7 +924,7 @@ private function save_environment_variables()
|
||||||
$envs->push("COOLIFY_BRANCH=\"{$local_branch}\"");
|
$envs->push("COOLIFY_BRANCH=\"{$local_branch}\"");
|
||||||
}
|
}
|
||||||
if ($this->application->environment_variables_preview->where('key', 'COOLIFY_CONTAINER_NAME')->isEmpty()) {
|
if ($this->application->environment_variables_preview->where('key', 'COOLIFY_CONTAINER_NAME')->isEmpty()) {
|
||||||
$envs->push("COOLIFY_CONTAINER_NAME=\"{$this->container_name}\"");
|
$envs->push("COOLIFY_CONTAINER_NAME={$this->container_name}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -983,7 +983,7 @@ private function save_environment_variables()
|
||||||
$envs->push("COOLIFY_BRANCH=\"{$local_branch}\"");
|
$envs->push("COOLIFY_BRANCH=\"{$local_branch}\"");
|
||||||
}
|
}
|
||||||
if ($this->application->environment_variables->where('key', 'COOLIFY_CONTAINER_NAME')->isEmpty()) {
|
if ($this->application->environment_variables->where('key', 'COOLIFY_CONTAINER_NAME')->isEmpty()) {
|
||||||
$envs->push("COOLIFY_CONTAINER_NAME=\"{$this->container_name}\"");
|
$envs->push("COOLIFY_CONTAINER_NAME={$this->container_name}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3608,7 +3608,7 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int
|
||||||
|
|
||||||
// Add COOLIFY_CONTAINER_NAME to environment
|
// Add COOLIFY_CONTAINER_NAME to environment
|
||||||
if ($resource->environment_variables->where('key', 'COOLIFY_CONTAINER_NAME')->isEmpty()) {
|
if ($resource->environment_variables->where('key', 'COOLIFY_CONTAINER_NAME')->isEmpty()) {
|
||||||
$coolifyEnvironments->put('COOLIFY_CONTAINER_NAME', "\"{$containerName}\"");
|
$coolifyEnvironments->put('COOLIFY_CONTAINER_NAME', "{$containerName}");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($isApplication) {
|
if ($isApplication) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue