blob: a1f8a3805d17fb82014ea97fddc0ca2cacf9d07c (
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
|
# frozen_string_literal: true
module Backup
module Tasks
class Registry < Task
def self.id = 'registry'
def enabled = Gitlab.config.registry.enabled
def human_name = _('container registry images')
def destination_path = 'registry.tar.gz'
def target
::Backup::Targets::Files.new(progress, app_files_dir, options: options)
end
private
def app_files_dir
Settings.registry.path
end
end
end
end
|