diff --git a/dist/index.js b/dist/index.js index fed4ebe..06f009d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -62144,7 +62144,7 @@ function addCiRegistryAuth(ci_registry, registryAuthJson) { } function mergeArgRegistryAuthJson(registryAuthJson) { - const argRegistryAuthJson = process.env['REGISTRY_AUTH_JSON']; + const argRegistryAuthJson = core.getInput("registry_auth_json"); if (argRegistryAuthJson != null && argRegistryAuthJson.trim().length > 0) { try { const argRegistryAuth = JSON.parse(argRegistryAuthJson); diff --git a/src/lib.js b/src/lib.js index 038f485..7a1fab3 100644 --- a/src/lib.js +++ b/src/lib.js @@ -40,7 +40,7 @@ export function addCiRegistryAuth(ci_registry, registryAuthJson) { } export function mergeArgRegistryAuthJson(registryAuthJson) { - const argRegistryAuthJson = process.env['REGISTRY_AUTH_JSON']; + const argRegistryAuthJson = core.getInput('registry_auth_json'); if (argRegistryAuthJson != null && argRegistryAuthJson.trim().length > 0) { try { const argRegistryAuth = JSON.parse(argRegistryAuthJson);