No need to set `DOCKER_BUILDKIT`

This commit is contained in:
Moein Nemati 2023-06-28 14:25:08 +03:00
parent 01daba50d6
commit 242f2ee10e
No known key found for this signature in database
GPG Key ID: A893D5BF4D5FAE12
1 changed files with 0 additions and 5 deletions

View File

@ -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...)
}