Skip to content

Commit 2f2694b

Browse files
committed
switch to Docker exec
Signed-off-by: CrazyMax <[email protected]>
1 parent 0a4bab6 commit 2f2694b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ actionsToolkit.run(
181181
async () => {
182182
if (stateHelper.IsDebug && stateHelper.containerName.length > 0) {
183183
await core.group(`BuildKit container logs`, async () => {
184-
await Exec.getExecOutput('docker', ['logs', `${stateHelper.containerName}`], {
184+
await Docker.getExecOutput(['logs', `${stateHelper.containerName}`], {
185185
ignoreReturnCode: true
186186
}).then(res => {
187187
if (res.stderr.length > 0 && res.exitCode != 0) {

0 commit comments

Comments
 (0)