Merge pull request #2672 from github/mbg/start-proxy/include-type-in-urls-output

This commit is contained in:
Michael B. Gale
2025-01-08 18:30:12 +00:00
committed by GitHub
4 changed files with 10 additions and 4 deletions

View File

@@ -174,7 +174,10 @@ async function startProxy(
const registry_urls = config.all_credentials
.filter((credential) => credential.url !== undefined)
.map((credential) => credential.url);
.map((credential) => ({
type: credential.type,
url: credential.url,
}));
core.setOutput("proxy_urls", JSON.stringify(registry_urls));
} catch (error) {
core.setFailed(`start-proxy action failed: ${util.getErrorMessage(error)}`);