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
dependencies: [],
script: ['gtcs scan'],
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'
}
}
......
......@@ -20,6 +20,10 @@ module Gitlab
def self.dev_url
'https://dev.gitlab.org'
end
def self.registry_prefix
'registry.gitlab.com'
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