Revert "start-proxy: Skip proxy setup if no credentials are available"
This commit is contained in:
parent
54b1c84213
commit
7fdc1b8d67
3 changed files with 1 additions and 11 deletions
4
lib/start-proxy-action.js
generated
4
lib/start-proxy-action.js
generated
|
|
@ -99,10 +99,6 @@ async function runWrapper() {
|
|||
core.saveState("proxy-log-file", proxyLogFilePath);
|
||||
// Get the configuration options
|
||||
const credentials = (0, start_proxy_1.getCredentials)(logger, actionsUtil.getOptionalInput("registry_secrets"), 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))
|
||||
.join("\n")}`);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -99,12 +99,6 @@ 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