Skip to content

Commit 00126e4

Browse files
authored
Feature/support custom registry zip url (#112)
* support custom registry zip url and bump version to 0.1.61 Signed-off-by: 澶渊 <chanyuan.lb@alibaba-inc.com> * recovery registry config Signed-off-by: 澶渊 <chanyuan.lb@alibaba-inc.com> --------- Signed-off-by: 澶渊 <chanyuan.lb@alibaba-inc.com> Co-authored-by: 澶渊 <chanyuan.lb@alibaba-inc.com>
1 parent 85492ea commit 00126e4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/common/load/loadApplication.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import {
1818
getYamlContent,
1919
S_CURRENT,
2020
getSetConfig,
21+
setConfigYaml,
2122
isYamlFile,
2223
generateRandom,
2324
} from '../../libs';
@@ -446,7 +447,9 @@ async function loadApplication(
446447
if (config.registry) {
447448
if (config.registry !== RegistryEnum.github && config.registry !== RegistryEnum.serverless) {
448449
// 支持 自定义
449-
return await instance.byUrl();
450+
let res = await instance.byUrl();
451+
setConfigYaml('registry', RegistryEnum.serverless)
452+
return res;
450453
}
451454
}
452455
let appPath: string;

0 commit comments

Comments
 (0)