diff --git a/.changeset/hungry-pans-change.md b/.changeset/hungry-pans-change.md new file mode 100644 index 0000000000..44a51203a8 --- /dev/null +++ b/.changeset/hungry-pans-change.md @@ -0,0 +1,5 @@ +--- +'@e2b/cli': patch +--- + +build-arg's not working for e2b template build command diff --git a/packages/cli/src/commands/template/build.ts b/packages/cli/src/commands/template/build.ts index 26d4c60923..b281ba4f3d 100644 --- a/packages/cli/src/commands/template/build.ts +++ b/packages/cli/src/commands/template/build.ts @@ -356,7 +356,7 @@ export const buildCommand = new commander.Command('build') -t docker.${connectionConfig.domain}/e2b/custom-envs/${templateID}:${template.buildID} ${Object.entries( dockerBuildArgs ) - .map(([key, value]) => `--build-arg="${key}=${value}"`) + .map(([key, value]) => `--build-arg "${key}=${value}"`) .join(' \\ \n ')}` console.log(`Building docker image with the following command:\n${asBold(cmd)}\n`)