Skip to content

Commit

Permalink
set registry var
Browse files Browse the repository at this point in the history
  • Loading branch information
gmichelo committed Jan 27, 2024
1 parent f2b652c commit c663295
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}));
Expand Down
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function run(): Promise<void> {
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();
});
Expand Down

0 comments on commit c663295

Please sign in to comment.