mirror of https://github.com/docker/docs.git
Merge pull request #7406 from hollietealok/docs_add
Added "Github Submodules" section to Automated Builds doc.
This commit is contained in:
commit
2dc21af70b
|
@ -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".
|
||||
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Step</th>
|
||||
<th>Screenshot</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1.</td>
|
||||
<td><img src="/docker-hub/hub-images/deploy_key.png"></td>
|
||||
<td>Your automated build's deploy key is in the "Build Details" menu under "Deploy keys".</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2.</td>
|
||||
<td><img src="/docker-hub/hub-images/github_deploy_key.png"></td>
|
||||
<td>In your GitHub submodule's repository Settings page, add the deploy key from your Docker Hub Automated Build.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
### GitHub organizations
|
||||
|
||||
GitHub organizations will appear once your membership to that organization is
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 159 KiB |
Binary file not shown.
After Width: | Height: | Size: 79 KiB |
Loading…
Reference in New Issue