diff --git a/dist/main/index.js b/dist/main/index.js index 8fe8a0c..01fce97 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -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); diff --git a/main.ts b/main.ts index 08918d0..a20282d 100644 --- a/main.ts +++ b/main.ts @@ -27,7 +27,10 @@ async function run(): Promise { 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 () => {