Automated Builds update (#13027)

Automated Builds update

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
This commit is contained in:
jerae-duffin 2021-06-22 04:12:40 -05:00 committed by GitHub
parent ecf82e893e
commit 6e59fc387b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 2 deletions

View File

@ -7,7 +7,7 @@ redirect_from:
- /docker-cloud/builds/automated-build/ - /docker-cloud/builds/automated-build/
- /docker-cloud/builds/ - /docker-cloud/builds/
- /docker-hub/builds/classic/ - /docker-hub/builds/classic/
title: Set up automated builds title: Set up Automated Builds
--- ---
@ -17,6 +17,12 @@ Docker Hub can automatically build images from source code in an external
repository and automatically push the built image to your Docker repository and automatically push the built image to your Docker
repositories. repositories.
> **Note**
>
> The Automated Builds feature is available for Pro or Team plans only. [Upgrade](https://www.docker.com/pricing?utm_source=docker&utm_medium=webreferral&utm_campaign=docs_driven_upgrade){: target="_blank" rel="noopener" class="_"}
> your existing account to a Pro or a Team plan to start using Automated Builds.
If you are using automated builds for an open-source project, you can join our [Open Source Community](https://www.docker.com/community/open-source/application){: target="_blank" rel="noopener" class="_"} program to learn how Docker can support your project on Docker Hub.
When you set up automated builds (also called autobuilds), you create a list of When you set up automated builds (also called autobuilds), you create a list of
branches and tags that you want to build into Docker images. When you push code branches and tags that you want to build into Docker images. When you push code
to a source code branch (for example in GitHub) for one of those listed image to a source code branch (for example in GitHub) for one of those listed image
@ -40,7 +46,7 @@ queued to be run later.
> **Note** > **Note**
> >
> The total number of pending builds in the queue is limited to 30 and further requests will be discarded. > The total number of pending builds in the queue is limited to 30 and further requests will be discarded. The number of parallel builds for Pro is 5 and for Team is 15.
![An automated build dashboard](images/index-dashboard.png) ![An automated build dashboard](images/index-dashboard.png)
@ -299,6 +305,10 @@ You can enable the BuildKit builder by setting the `DOCKER_BUILDKIT=1`
Refer to the [build images with BuildKit](../../develop/develop-images/build_enhancements.md) Refer to the [build images with BuildKit](../../develop/develop-images/build_enhancements.md)
page for more information on BuildKit. page for more information on BuildKit.
> **Note**
>
> Autobuilds use the buildKit build-system by default. If you want to use the legacy Docker build-system, add the [environment variable](index.md#environment-variables-for-builds){: target="_blank" rel="noopener" class="_"} Docker_BUILDKIT=0.
## Build repositories with linked private submodules ## Build repositories with linked private submodules
Docker Hub sets up a deploy key in your source code repository that allows it Docker Hub sets up a deploy key in your source code repository that allows it