From 127dcbdc25a788bc50ed461ba2d597287ec9ae1f Mon Sep 17 00:00:00 2001 From: Clare Liguori Date: Sun, 1 Mar 2020 15:55:55 -0800 Subject: [PATCH] fix: Add debugging for registry ID input --- index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 8b3063ac..a7e28d40 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,12 @@ async function run() { }); const authTokenRequest = {}; if (registries) { - authTokenRequest.registryIds = registries.split(',') + const registryIds = registries.split(','); + core.debug(`Requesting auth token for ${registryIds.length} registries:`); + for (const id of registryIds) { + core.debug(` '${id}'`); + } + authTokenRequest.registryIds = registryIds; } const authTokenResponse = await ecr.getAuthorizationToken(authTokenRequest).promise(); if (!Array.isArray(authTokenResponse.authorizationData) || !authTokenResponse.authorizationData.length) {