This commit is contained in:
Andras Bacsai
2023-01-20 20:51:37 +01:00
parent 15c9ad23fe
commit 18ed2527e8
3 changed files with 4 additions and 3 deletions

View File

@@ -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,