summaryrefslogtreecommitdiff
path: root/app/views/projects/container_registry/index.html.haml
blob: f074ce6be6db564c6a94b012a50e70a6f1382961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
- 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_repository_url)} .
        %br
        docker push #{escape_once(@project.container_registry_repository_url)}

  - if @images.blank?
    .nothing-here-block No container images in Container Registry for this project.

  - else
    - @images.each do |image|
      = render 'image', image: image