Bring back path to registry settings
This commit is contained in:
parent
23d1c45410
commit
89644edc4e
2 changed files with 2 additions and 0 deletions
|
@ -183,6 +183,7 @@ production: &base
|
|||
# api_url: http://localhost:5000/
|
||||
# key: config/registry.key
|
||||
# issuer: omnibus-certificate
|
||||
# path: shared/registry
|
||||
|
||||
#
|
||||
# 2. GitLab CI settings
|
||||
|
|
|
@ -254,6 +254,7 @@ Settings.registry['api_url'] ||= "http://localhost:5000/"
|
|||
Settings.registry['key'] ||= nil
|
||||
Settings.registry['issuer'] ||= nil
|
||||
Settings.registry['host_port'] ||= [Settings.registry['host'], Settings.registry['port']].compact.join(':')
|
||||
Settings.registry['path'] = File.expand_path(Settings.artifacts['path'] || File.join(Settings.shared['path'], "registry"), Rails.root)
|
||||
|
||||
#
|
||||
# Git LFS
|
||||
|
|
Loading…
Reference in a new issue