From 87eafd3972613bb5925cd336c572049b0eb8fb70 Mon Sep 17 00:00:00 2001 From: David Hiendl Date: Wed, 6 Dec 2023 12:26:35 +0100 Subject: [PATCH] fix auths/auth key transposed by accident in docker auth json merge --- dist/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/index.js b/dist/index.js index f9a74eb..fed4ebe 100644 --- a/dist/index.js +++ b/dist/index.js @@ -62148,10 +62148,10 @@ function mergeArgRegistryAuthJson(registryAuthJson) { if (argRegistryAuthJson != null && argRegistryAuthJson.trim().length > 0) { try { const argRegistryAuth = JSON.parse(argRegistryAuthJson); - if (argRegistryAuth.auth != null) { - for (const key in argRegistryAuth.auth) { - if (argRegistryAuth.auth.hasOwnProperty(key)) { - registryAuthJson[key] = argRegistryAuth.auth[key]; + if (argRegistryAuth.auths != null) { + for (const key in argRegistryAuth.auths) { + if (argRegistryAuth.auths.hasOwnProperty(key)) { + registryAuthJson[key] = argRegistryAuth.auths[key]; } } } @@ -62404,7 +62404,7 @@ try { let ci_registry = false; if (core.getBooleanInput('add_ci_registry_target')) { - ci_registry = information.ci_hostname + ci_registry = information.ci_hostname; const ci_registry_repo = ci_registry + '/' + repoStr + ':'; targetRepos.push(ci_registry_repo); }