diff --git a/dist/main/index.js b/dist/main/index.js index 7a344ef..6ee5898 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -7136,7 +7136,7 @@ function run() { const { NSC_DOCKER_LOGIN, NSC_CONTAINER_REGISTRY } = process.env; let registry = NSC_CONTAINER_REGISTRY; if (NSC_DOCKER_LOGIN == null || registry == null || NSC_DOCKER_LOGIN != "1" || registry == "") { - const registry = yield _actions_core__WEBPACK_IMPORTED_MODULE_0__.group(`Log into Namespace workspace container registry`, () => __awaiter(this, void 0, void 0, function* () { + registry = yield _actions_core__WEBPACK_IMPORTED_MODULE_0__.group(`Log into Namespace workspace container registry`, () => __awaiter(this, void 0, void 0, function* () { yield ensureNscloudToken(); return yield dockerLogin(); })); diff --git a/main.ts b/main.ts index 2d9b20a..ba9beca 100644 --- a/main.ts +++ b/main.ts @@ -25,7 +25,7 @@ async function run(): Promise { const { NSC_DOCKER_LOGIN, NSC_CONTAINER_REGISTRY } = process.env; let registry = NSC_CONTAINER_REGISTRY; if (NSC_DOCKER_LOGIN == null || registry == null || NSC_DOCKER_LOGIN != "1" || registry == "") { - const registry = await core.group(`Log into Namespace workspace container registry`, async () => { + registry = await core.group(`Log into Namespace workspace container registry`, async () => { await ensureNscloudToken(); return await dockerLogin(); });