Skip proxy if no credentials
This commit is contained in:
parent
f6d19ed42e
commit
7d7758bb24
3 changed files with 11 additions and 1 deletions
|
|
@ -100,6 +100,12 @@ async function runWrapper() {
|
|||
actionsUtil.getOptionalInput("registries_credentials"),
|
||||
actionsUtil.getOptionalInput("language"),
|
||||
);
|
||||
|
||||
if (credentials.length === 0) {
|
||||
logger.info("No credentials found, skipping proxy setup.");
|
||||
return;
|
||||
}
|
||||
|
||||
logger.info(
|
||||
`Credentials loaded for the following registries:\n ${credentials
|
||||
.map((c) => credentialToStr(c))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue