@devkong/cli 0.0.63 → 0.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -87749,7 +87749,8 @@ var PublishVersionCommand = class {
|
|
|
87749
87749
|
task: async (ctx, task) => {
|
|
87750
87750
|
const logger = new ListrTaskLogger(task, this.verbose ? 3 /* DEBUG */ : 0 /* INFO */);
|
|
87751
87751
|
const cmdText = this.getKotlinBuildCmdTask();
|
|
87752
|
-
|
|
87752
|
+
const isPythonSdk = kongJson.sdk === "python";
|
|
87753
|
+
ctx.contractText = await spawnCommand(cmdText, logger, !isPythonSdk);
|
|
87753
87754
|
},
|
|
87754
87755
|
rendererOptions: this.defaultRendererOptions
|
|
87755
87756
|
};
|
|
@@ -87892,7 +87893,7 @@ var PublishVersionCommand = class {
|
|
|
87892
87893
|
return repoName === "docker-registry:5000" ? "localhost:5000" : repoName;
|
|
87893
87894
|
}
|
|
87894
87895
|
dockerBuildCmdText(imageName) {
|
|
87895
|
-
return `${this.wslPrefix} docker build -t ${imageName} -f Dockerfile .`;
|
|
87896
|
+
return `${this.wslPrefix} docker build --network=host -t ${imageName} -f Dockerfile .`;
|
|
87896
87897
|
}
|
|
87897
87898
|
dockerPushCmdText(imageName) {
|
|
87898
87899
|
return `${this.wslPrefix} docker push ${imageName}`;
|