diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-16 18:07:37 -0500 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-16 18:07:37 -0500 |
commit | 8572a6b2d469009f01533b1003e73952bd2b6850 (patch) | |
tree | d842576f0ef3ac36445a08eb3e1e042fcc468c79 | |
parent | 91c4002a0c2f32944ec669cc159c4b1c9176866f (diff) | |
download | gitlab-ce-8572a6b2d469009f01533b1003e73952bd2b6850.tar.gz |
Always show documentation how to access images
-rw-r--r-- | app/views/projects/container_registry/index.html.haml | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/app/views/projects/container_registry/index.html.haml b/app/views/projects/container_registry/index.html.haml index 6a1e46b14b9..40957993b22 100644 --- a/app/views/projects/container_registry/index.html.haml +++ b/app/views/projects/container_registry/index.html.haml @@ -4,26 +4,26 @@ %hr %ul.content-list + .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_repository_url)} . + %br + docker push #{escape_once(@project.container_registry_repository_url)} + - if @tags.blank? %li .nothing-here-block No images in Container Registry for this project. - .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_repository_url)} . - %br - docker push #{escape_once(@project.container_registry_repository_url)} - - else .table-holder %table.table.tags |