An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: space in build args
Andras Bacsai21795cf78834
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex 3091bc339a..8b590dd2b8 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -885,14 +885,14 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf");private function generate_build_env_variables(){- $this->build_args = collect(["--build-arg SOURCE_COMMIT={$this->commit}"]);+ $this->build_args = collect(["--build-arg SOURCE_COMMIT=\"{$this->commit}\""]);if ($this->pull_request_id === 0) {foreach ($this->application->build_environment_variables as $env) {- $this->build_args->push("--build-arg {$env->key}={$env->value}");+ $this->build_args->push("--build-arg {$env->key}=\"{$env->value}\"");}} else {foreach ($this->application->build_environment_variables_preview as $env) {- $this->build_args->push("--build-arg {$env->key}={$env->value}");+ $this->build_args->push("--build-arg {$env->key}=\"{$env->value}\"");}}