Include registry type in proxy_urls output
This commit is contained in:
parent
5b6e617dc0
commit
97aec69211
3 changed files with 9 additions and 3 deletions
|
|
@ -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)}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue