diff --git a/apps/api/src/lib/buildPacks/compose.ts b/apps/api/src/lib/buildPacks/compose.ts index aef9e3435..f0f966ddb 100644 --- a/apps/api/src/lib/buildPacks/compose.ts +++ b/apps/api/src/lib/buildPacks/compose.ts @@ -66,10 +66,12 @@ export default async function (data) { } } } + if (build.length > 0 || buildArgs.length > 0 ) { value['build'] = { ...build, args: finalArgs }; + } value['labels'] = labels; // TODO: If we support separated volume for each service, we need to add it here @@ -116,7 +118,6 @@ export default async function (data) { dockerComposeYaml['networks'] = Object.assign({ ...networks }, { [network]: { external: true } }); await fs.writeFile(fileYaml, yaml.dump(dockerComposeYaml)); - console.log(yaml.dump(dockerComposeYaml)); await executeCommand({ debug, buildId, diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.ts index 1bfc1ac8c..bfa188c94 100644 --- a/apps/api/src/lib/common.ts +++ b/apps/api/src/lib/common.ts @@ -19,7 +19,7 @@ import { saveBuildLog, saveDockerRegistryCredentials } from './buildPacks/common import { scheduler } from './scheduler'; import type { ExecaChildProcess } from 'execa'; -export const version = '3.12.16'; +export const version = '3.12.17'; export const isDev = process.env.NODE_ENV === 'development'; export const sentryDSN = 'https://409f09bcb7af47928d3e0f46b78987f3@o1082494.ingest.sentry.io/4504236622217216'; diff --git a/package.json b/package.json index fb7066cb9..03fe74849 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "coolify", "description": "An open-source & self-hostable Heroku / Netlify alternative.", - "version": "3.12.16", + "version": "3.12.17", "license": "Apache-2.0", "repository": "github:coollabsio/coolify", "scripts": {