Skip to content

Commit

Permalink
fix: Add debugging for registry ID input
Browse files Browse the repository at this point in the history
  • Loading branch information
clareliguori committed Mar 1, 2020
1 parent 6adba70 commit 127dcbd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 127dcbd

Please sign in to comment.