Browse code

Added "Github Submodules" section to Automated Builds doc.

Signed-off-by: Hollie Teal <hollie.teal@docker.com>

Hollie Teal authored on 2014/08/05 03:12:01
Showing 3 changed files
... ...
@@ -58,6 +58,34 @@ Automatic Build.
58 58
 You can [create an Automated Build](https://registry.hub.docker.com/builds/github/select/)
59 59
 from any of your public or private GitHub repositories with a `Dockerfile`.
60 60
 
61
+### Github Submodules
62
+
63
+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. 
64
+
65
+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".
66
+
67
+<table class="table table-bordered">
68
+  <thead>
69
+    <tr>
70
+      <th>Step</th>
71
+      <th>Screenshot</th>
72
+      <th>Description</th>
73
+    </tr>
74
+  </thead>
75
+  <tbody>
76
+    <tr>
77
+      <td>1.</td>
78
+      <td><img src="/docker-hub/hub-images/deploy_key.png"></td>
79
+      <td>Your automated build's deploy key is in the "Build Details" menu under "Deploy keys".</td>
80
+    </tr>
81
+    <tr>
82
+      <td>2.</td>
83
+      <td><img src="/docker-hub/hub-images/github_deploy_key.png"></td>
84
+      <td>In your GitHub submodule's repository Settings page, add the deploy key from your Docker Hub automated build.</td>
85
+    </tr>
86
+  </tbody>
87
+</table>
88
+     
61 89
 ### GitHub organizations
62 90
 
63 91
 GitHub organizations will appear once your membership to that organization is
64 92
new file mode 100644
65 93
Binary files /dev/null and b/docs/sources/docker-hub/hub-images/deploy_key.png differ
66 94
new file mode 100644
67 95
Binary files /dev/null and b/docs/sources/docker-hub/hub-images/github_deploy_key.png differ