Introduce Buildkit to AutoBuilds (#10972)

* Introduce Buildkit to AutoBuilds

Add a section on explaining how to enable builds to use the Docker Buildkit builder by the Autobuild service

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Arko Dasgupta 2020-06-09 03:19:43 -07:00 committed by GitHub
parent 32dc3b7618
commit 5e8e4bb44d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -277,6 +277,14 @@ You could also use capture groups to build and label images that come from vario
`/(alice|bob)-v([0-9.]+)/` -->
### Build images with BuildKit
You can enable the BuildKit builder by setting the `DOCKER_BUILDKIT=1`
[environment variable](#environment-variables-for-builds) in the
[Configure automated build settings](#configure-automated-build-settings) section.
Refer to the [build images with BuildKit](../../develop/develop-images/build_enhancements.md)
page for more information on BuildKit.
## Build repositories with linked private submodules
Docker Hub sets up a deploy key in your source code repository that allows it