No need to set `DOCKER_BUILDKIT`
This commit is contained in:
parent
01daba50d6
commit
242f2ee10e
|
@ -176,11 +176,6 @@ func commandBuild(build Build, dryrun bool) *execabs.Cmd {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// we need to enable BuildKit, for secret support
|
|
||||||
if build.Secret != "" || len(build.SecretEnvs.Value()) > 0 || len(build.SecretFiles.Value()) > 0 {
|
|
||||||
os.Setenv("DOCKER_BUILDKIT", "1")
|
|
||||||
}
|
|
||||||
|
|
||||||
return execabs.Command(dockerBin, args...)
|
return execabs.Command(dockerBin, args...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue