Skip to content

Commit 97aec69

Browse files
committed
Include registry type in proxy_urls output
1 parent 5b6e617 commit 97aec69

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

lib/start-proxy-action.js

+4-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/start-proxy-action.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/start-proxy-action.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,10 @@ async function startProxy(
174174

175175
const registry_urls = config.all_credentials
176176
.filter((credential) => credential.url !== undefined)
177-
.map((credential) => credential.url);
177+
.map((credential) => ({
178+
type: credential.type,
179+
url: credential.url,
180+
}));
178181
core.setOutput("proxy_urls", JSON.stringify(registry_urls));
179182
} catch (error) {
180183
core.setFailed(`start-proxy action failed: ${util.getErrorMessage(error)}`);

0 commit comments

Comments
 (0)