From b94eed1a7a5d6d59e8aeb955d70a10c2454bf97e Mon Sep 17 00:00:00 2001 From: hugoalh <32359235+hugoalh@users.noreply.github.com> Date: Sun, 25 Jun 2023 13:36:07 +0800 Subject: [PATCH] 20230625H --- main.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.ps1 b/main.ps1 index 5d8b6dc..3c71716 100644 --- a/main.ps1 +++ b/main.ps1 @@ -55,7 +55,7 @@ Try { Catch {} If ($Null -ine $CommandDocker) { If ($RemoveDockerImage.Count -gt 0) { - [String[]]$DockerImageListRaw = docker image ls --all --format=json + [String[]]$DockerImageListRaw = docker image ls --all --format '{{json .}}' $DockerImageListRaw | Write-GitHubActionsDebug [PSCustomObject[]]$DockerImageList = (