fix registry_auth_json being read from ENV instead of input

This commit is contained in:
2023-12-06 12:37:00 +01:00
parent 87eafd3972
commit 2db35341c0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);