Skip to content
代码片段 群组 项目
提交 89644edc 编辑于 作者: Kamil Trzciński's avatar Kamil Trzciński
浏览文件

Bring back path to registry settings

上级 23d1c454
No related branches found
No related tags found
无相关合并请求
...@@ -183,6 +183,7 @@ production: &base ...@@ -183,6 +183,7 @@ production: &base
# api_url: http://localhost:5000/ # api_url: http://localhost:5000/
# key: config/registry.key # key: config/registry.key
# issuer: omnibus-certificate # issuer: omnibus-certificate
# path: shared/registry
# #
# 2. GitLab CI settings # 2. GitLab CI settings
......
...@@ -254,6 +254,7 @@ def host(url) ...@@ -254,6 +254,7 @@ def host(url)
Settings.registry['key'] ||= nil Settings.registry['key'] ||= nil
Settings.registry['issuer'] ||= nil Settings.registry['issuer'] ||= nil
Settings.registry['host_port'] ||= [Settings.registry['host'], Settings.registry['port']].compact.join(':') 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 # Git LFS
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册