debian-mirror-gitlab/lib/backup/registry.rb
2022-04-04 11:22:00 +05:30

21 lines
355 B
Ruby

# frozen_string_literal: true
module Backup
class Registry < Backup::Files
attr_reader :progress
def initialize(progress)
@progress = progress
super('registry', Settings.registry.path)
end
def human_name
_('container registry images')
end
def enabled
Gitlab.config.registry.enabled
end
end
end