summaryrefslogtreecommitdiff
path: root/app/views/projects/registry
diff options
context:
space:
mode:
authorMayra Cabrera <mcabrera@gitlab.com>2018-03-31 18:11:28 -0600
committerMayra Cabrera <mcabrera@gitlab.com>2018-04-06 21:20:16 -0500
commit560ed9223596b6587889efe0d996b8788543ec85 (patch)
tree86d2031c0469b0a4560afb1722c49234300089ee /app/views/projects/registry
parentaaa6d80870d5215390a7cd919d91309e5a8795b7 (diff)
downloadgitlab-ce-560ed9223596b6587889efe0d996b8788543ec85.tar.gz
Add documentation for DeployToken
Diffstat (limited to 'app/views/projects/registry')
-rw-r--r--app/views/projects/registry/repositories/index.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/registry/repositories/index.html.haml b/app/views/projects/registry/repositories/index.html.haml
index 12d56e244ce..b4457ea63ee 100644
--- a/app/views/projects/registry/repositories/index.html.haml
+++ b/app/views/projects/registry/repositories/index.html.haml
@@ -29,6 +29,10 @@
docker login #{Gitlab.config.registry.host_port}
%br
%p
+ - deploy_token = link_to(_('deploy token'), help_page_path('user/projects/deploy_tokens/index', anchor: 'read-container-registry-images'), target: '_blank')
+ = s_('Container-Registry|You can also %{deploy_token} for read-only access to the registry images.').html_safe % { deploy_token: deploy_token }
+ %br
+ %p
= s_('ContainerRegistry|Once you log in, you&rsquo;re free to create and upload a container image using the common %{build} and %{push} commands').html_safe % { build: "<code>build</code>".html_safe, push: "<code>push</code>".html_safe }
%pre
:plain