Skip to content

Commit c663295

Browse files
committed
set registry var
1 parent f2b652c commit c663295

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/main/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7136,7 +7136,7 @@ function run() {
71367136
const { NSC_DOCKER_LOGIN, NSC_CONTAINER_REGISTRY } = process.env;
71377137
let registry = NSC_CONTAINER_REGISTRY;
71387138
if (NSC_DOCKER_LOGIN == null || registry == null || NSC_DOCKER_LOGIN != "1" || registry == "") {
7139-
const registry = yield _actions_core__WEBPACK_IMPORTED_MODULE_0__.group(`Log into Namespace workspace container registry`, () => __awaiter(this, void 0, void 0, function* () {
7139+
registry = yield _actions_core__WEBPACK_IMPORTED_MODULE_0__.group(`Log into Namespace workspace container registry`, () => __awaiter(this, void 0, void 0, function* () {
71407140
yield ensureNscloudToken();
71417141
return yield dockerLogin();
71427142
}));

main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ async function run(): Promise<void> {
2525
const { NSC_DOCKER_LOGIN, NSC_CONTAINER_REGISTRY } = process.env;
2626
let registry = NSC_CONTAINER_REGISTRY;
2727
if (NSC_DOCKER_LOGIN == null || registry == null || NSC_DOCKER_LOGIN != "1" || registry == "") {
28-
const registry = await core.group(`Log into Namespace workspace container registry`, async () => {
28+
registry = await core.group(`Log into Namespace workspace container registry`, async () => {
2929
await ensureNscloudToken();
3030
return await dockerLogin();
3131
});

0 commit comments

Comments
 (0)