mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-09 01:53:33 -05:00
fix ProxyConfig type when checking length
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
47d5369e0b
commit
c97c4060bd
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ actionsToolkit.run(
|
|||
if (dockerConfig && dockerConfig.proxies) {
|
||||
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 a new issue