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: Secrets
Andras Bacsaiddd09412cd33
diff --git a/apps/api/src/jobs/deployApplication.ts b/apps/api/src/jobs/deployApplication.tsindex c780595f9c..9782067d1d 100644--- a/apps/api/src/jobs/deployApplication.ts+++ b/apps/api/src/jobs/deployApplication.ts@@ -192,9 +192,9 @@ import * as buildpacks from '../lib/buildPacks';} catch (error) {//}+ await copyBaseConfigurationFiles(buildPack, workdir, buildId, applicationId, baseImage);if (!imageFound || deployNeeded) {// if (true) {- await copyBaseConfigurationFiles(buildPack, workdir, buildId, applicationId, baseImage);if (buildpacks[buildPack])await buildpacks[buildPack]({dockerId: destinationDocker.id,@@ -248,11 +248,11 @@ import * as buildpacks from '../lib/buildPacks';secrets.forEach((secret) => {if (pullmergeRequestId) {if (secret.isPRMRSecret) {- envs.push(`${secret.name}=${secret.value}`);+ envs.push(`${secret.name}='${secret.value}'`);}} else {if (!secret.isPRMRSecret) {- envs.push(`${secret.name}=${secret.value}`);+ envs.push(`${secret.name}='${secret.value}'`);}}});diff --git a/apps/api/src/lib/buildPacks/common.ts b/apps/api/src/lib/buildPacks/common.tsindex 3c34c5f310..62aa271c17 100644--- a/apps/api/src/lib/buildPacks/common.ts+++ b/apps/api/src/lib/buildPacks/common.ts@@ -523,7 +523,7 @@ export async function buildImage({await saveBuildLog({ line: `Building image started.`, buildId, applicationId });}if (debug) {- await saveBuildLog({ line: `\n###############\nIMPORTANT: Due to some issues during implementing Remote Docker Engine, the builds logs are not streamed at the moment. You will see the full build log when the build is finished!\n###############`, buildId, applicationId });+ await saveBuildLog({ line: `\n###############\nIMPORTANT: Due to some issues during implementing Remote Docker Engine, the builds logs are not streamed at the moment - but will be soon! You will see the full build log when the build is finished!\n###############`, buildId, applicationId });}if (!debug && isCache) {await saveBuildLog({