fix registry_auth_json being read from ENV instead of input
This commit is contained in:
parent
87eafd3972
commit
2db35341c0
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user