Updated docker.go

This commit is contained in:
Ompragash Viswanathan
2025-07-31 23:51:50 +05:30
parent 693c62c675
commit 9e2319c2d4
+1 -1
View File
@@ -727,7 +727,7 @@ func GetDroneDockerExecCmd() string {
}
func getDigest(buildName string) (string, error) {
cmd := exec.Command("docker", "inspect", "--format='{{index .RepoDigests 0}}'", buildName)
cmd := exec.Command(dockerExe, "inspect", "--format='{{index .RepoDigests 0}}'", buildName)
output, err := cmd.Output()
if err != nil {
return "", err