From 2f2694b8d12669f2f75b4e35bb6575470d2dfbe7 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Fri, 19 Jul 2024 13:05:34 +0200 Subject: [PATCH] switch to Docker exec Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index bdaf861..8d74a15 100644 --- a/src/main.ts +++ b/src/main.ts @@ -181,7 +181,7 @@ actionsToolkit.run( async () => { if (stateHelper.IsDebug && stateHelper.containerName.length > 0) { await core.group(`BuildKit container logs`, async () => { - await Exec.getExecOutput('docker', ['logs', `${stateHelper.containerName}`], { + await Docker.getExecOutput(['logs', `${stateHelper.containerName}`], { ignoreReturnCode: true }).then(res => { if (res.stderr.length > 0 && res.exitCode != 0) {