mirror of
https://github.com/docker/build-push-action.git
synced 2026-03-30 23:10:25 +00:00
fix ProxyConfig type when checking length
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
0c29210b88
commit
28ee4c0a46
@ -39,7 +39,7 @@ actionsToolkit.run(
|
||||
await core.group(`Proxy configuration found`, async () => {
|
||||
for (const host in dockerConfig.proxies) {
|
||||
let prefix = '';
|
||||
if (dockerConfig.proxies.length > 1) {
|
||||
if (Object.keys(dockerConfig.proxies).length > 1) {
|
||||
prefix = ' ';
|
||||
core.info(host);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user