Commit 0f40022a authored by Zhu Shung's avatar Zhu Shung

Add registry_prefix to saas module

parent 9fd1c988
...@@ -104,7 +104,7 @@ RSpec.describe Security::SecurityOrchestrationPolicies::CiConfigurationService d ...@@ -104,7 +104,7 @@ RSpec.describe Security::SecurityOrchestrationPolicies::CiConfigurationService d
dependencies: [], dependencies: [],
script: ['gtcs scan'], script: ['gtcs scan'],
variables: { variables: {
CS_ANALYZER_IMAGE: 'registry.gitlab.com/security-products/container-scanning:4', CS_ANALYZER_IMAGE: "#{Gitlab::Saas.registry_prefix}/security-products/container-scanning:4",
GIT_STRATEGY: 'none' GIT_STRATEGY: 'none'
} }
} }
......
...@@ -20,6 +20,10 @@ module Gitlab ...@@ -20,6 +20,10 @@ module Gitlab
def self.dev_url def self.dev_url
'https://dev.gitlab.org' 'https://dev.gitlab.org'
end end
def self.registry_prefix
'registry.gitlab.com'
end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment