Skip to content

Commit 9e2319c

Browse files
committed
Updated docker.go
1 parent 693c62c commit 9e2319c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ func GetDroneDockerExecCmd() string {
727727
}
728728

729729
func getDigest(buildName string) (string, error) {
730-
cmd := exec.Command("docker", "inspect", "--format='{{index .RepoDigests 0}}'", buildName)
730+
cmd := exec.Command(dockerExe, "inspect", "--format='{{index .RepoDigests 0}}'", buildName)
731731
output, err := cmd.Output()
732732
if err != nil {
733733
return "", err

0 commit comments

Comments
 (0)