mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Added "Github Submodules" section to Automated Builds doc.
Signed-off-by: Hollie Teal <hollie.teal@docker.com>
This commit is contained in:
parent
d48492a12e
commit
bafad8cdc4
3 changed files with 28 additions and 0 deletions
|
@ -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
|
||||
|
|
BIN
docs/sources/docker-hub/hub-images/deploy_key.png
Normal file
BIN
docs/sources/docker-hub/hub-images/deploy_key.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 159 KiB |
BIN
docs/sources/docker-hub/hub-images/github_deploy_key.png
Normal file
BIN
docs/sources/docker-hub/hub-images/github_deploy_key.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 79 KiB |
Loading…
Reference in a new issue