diff --git a/docs/sources/docker-hub/builds.md b/docs/sources/docker-hub/builds.md index bbca826e45..937912ec71 100644 --- a/docs/sources/docker-hub/builds.md +++ b/docs/sources/docker-hub/builds.md @@ -58,6 +58,34 @@ Automatic Build. You can [create an Automated Build](https://registry.hub.docker.com/builds/github/select/) from any of your public or private GitHub repositories with a `Dockerfile`. +### Github Submodules + +If your repository contains links to private submodules, you'll need to add a deploy key so that the Docker Hub will be able to clone the repository from Github. + +Your Docker Hub deploy key is located under the "Build Details" menu on the automated build's main page in the Hub. Add this key to your GitHub submodule by viewing the Settings page for the repository on GitHub and selecting "Deploy keys". + + + + + + + + + + + + + + + + + + + + + +
StepScreenshotDescription
1.Your automated build's deploy key is in the "Build Details" menu under "Deploy keys".
2.In your GitHub submodule's repository Settings page, add the deploy key from your Docker Hub automated build.
+ ### GitHub organizations GitHub organizations will appear once your membership to that organization is diff --git a/docs/sources/docker-hub/hub-images/deploy_key.png b/docs/sources/docker-hub/hub-images/deploy_key.png new file mode 100644 index 0000000000..c4377bba9b Binary files /dev/null and b/docs/sources/docker-hub/hub-images/deploy_key.png differ diff --git a/docs/sources/docker-hub/hub-images/github_deploy_key.png b/docs/sources/docker-hub/hub-images/github_deploy_key.png new file mode 100644 index 0000000000..bd69054b14 Binary files /dev/null and b/docs/sources/docker-hub/hub-images/github_deploy_key.png differ