fix registry_auth_json being read from ENV instead of input

This commit is contained in:
David Hiendl 2023-12-06 12:37:00 +01:00
parent 87eafd3972
commit 2db35341c0
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -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);

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);