summaryrefslogtreecommitdiff
path: root/app/views/projects/registry/repositories/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/registry/repositories/index.html.haml')
-rw-r--r--app/views/projects/registry/repositories/index.html.haml26
1 files changed, 26 insertions, 0 deletions
diff --git a/app/views/projects/registry/repositories/index.html.haml b/app/views/projects/registry/repositories/index.html.haml
new file mode 100644
index 00000000000..be128e92fa7
--- /dev/null
+++ b/app/views/projects/registry/repositories/index.html.haml
@@ -0,0 +1,26 @@
+- page_title "Container Registry"
+
+%hr
+
+%ul.content-list
+ %li.light.prepend-top-default
+ %p
+ A 'container image' is a snapshot of a container.
+ You can host your container images with GitLab.
+ %br
+ To start using container images hosted on GitLab you first need to login:
+ %pre
+ %code
+ docker login #{Gitlab.config.registry.host_port}
+ %br
+ Then you are free to create and upload a container image with build and push commands:
+ %pre
+ docker build -t #{escape_once(@project.container_registry_url)}/image .
+ %br
+ docker push #{escape_once(@project.container_registry_url)}/image
+
+ - if @images.blank?
+ .nothing-here-block No container image repositories in Container Registry for this project.
+
+ - else
+ = render partial: 'image', collection: @images