diff --git a/dist/index.js b/dist/index.js index 7e033a1..9830c25 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1093,6 +1093,7 @@ function run() { const ecrRegion = yield ecr.getRegion(registry); process.env.AWS_ACCESS_KEY_ID = username; process.env.AWS_SECRET_ACCESS_KEY = password; + core.info(`Logging into AWS ECR region ${ecrRegion}...`); yield exec.exec('aws', ['ecr', 'get-login', '--region', ecrRegion, '--no-include-email'], true).then(res => { if (res.stderr != '' && !res.success) { throw new Error(res.stderr); diff --git a/src/main.ts b/src/main.ts index a64fdab..d466257 100644 --- a/src/main.ts +++ b/src/main.ts @@ -22,6 +22,8 @@ async function run(): Promise { const ecrRegion = await ecr.getRegion(registry); process.env.AWS_ACCESS_KEY_ID = username; process.env.AWS_SECRET_ACCESS_KEY = password; + + core.info(`Logging into AWS ECR region ${ecrRegion}...`); await exec.exec('aws', ['ecr', 'get-login', '--region', ecrRegion, '--no-include-email'], true).then(res => { if (res.stderr != '' && !res.success) { throw new Error(res.stderr);