switch to Docker exec

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2024-07-19 13:05:34 +02:00
parent 0a4bab6632
commit 2f2694b8d1
No known key found for this signature in database
GPG Key ID: ADE44D8C9D44FBE4

View File

@ -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) {