Skip to content

Commit

Permalink
more info messages on docker login
Browse files Browse the repository at this point in the history
  • Loading branch information
gmichelo committed Jan 26, 2024
1 parent 6c0f5ea commit ab11608
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dist/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7106,7 +7106,9 @@ function run() {
if (isDockerLogin == null || isDockerLogin != "1") {
return yield dockerLogin();
}
return process.env[Env_DockerRegistry];
const reg = process.env[Env_DockerRegistry];
_actions_core__WEBPACK_IMPORTED_MODULE_0__.info(`Already logged in to Namespace Private Container Registry: ${reg}.`);
return reg;
}));
yield _actions_core__WEBPACK_IMPORTED_MODULE_0__.group(`Registry address`, () => __awaiter(this, void 0, void 0, function* () {
_actions_core__WEBPACK_IMPORTED_MODULE_0__.info(registry);
Expand Down
5 changes: 4 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ async function run(): Promise<void> {
if (isDockerLogin == null || isDockerLogin != "1") {
return await dockerLogin();
}
return process.env[Env_DockerRegistry];

const reg = process.env[Env_DockerRegistry];
core.info(`Already logged in to Namespace Private Container Registry: ${reg}.`);
return reg;
});

await core.group(`Registry address`, async () => {
Expand Down

0 comments on commit ab11608

Please sign in to comment.