From eb53fd1f1718e8f3c66b4392739676e3eca34e47 Mon Sep 17 00:00:00 2001 From: Don Date: Wed, 14 Sep 2022 09:46:21 -0700 Subject: [PATCH] Use full path to docker when creating card Windows docker builds failed to create the card using `docker inspect` because docker isn't on the path. Instead use `dockerExec` from `daemon.go` which has the full path to the executable. --- card.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/card.go b/card.go index 9702f523..b9fea72c 100644 --- a/card.go +++ b/card.go @@ -18,7 +18,7 @@ import ( ) func (p Plugin) writeCard() error { - cmd := exec.Command("docker", "inspect", p.Build.Name) + cmd := exec.Command(dockerExe, "inspect", p.Build.Name) data, err := cmd.CombinedOutput() if err != nil { return err