Project

General

Profile

Revision ada932ab

Added by Dmitri Dolguikh over 7 years ago

Fixes #7647: Added support for external registries

View differences:

app/models/docker_image.rb
2 2
  has_many :tags, :class_name => 'DockerTag', :foreign_key => 'docker_image_id',
3 3
                  :dependent  => :destroy
4 4
  has_many :containers
5
  has_many :docker_image_docker_registries
6
  has_many :registries, :class_name => 'DockerRegistry', :uniq => true,
7
           :through => :docker_image_docker_registries
5 8

  
6 9
  attr_accessible :image_id, :size
7 10

  

Also available in: Unified diff