Commit 92a5a927 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'jh-mr-92-add-registry-prefix-to-saas-module' into 'master'

Add registry_prefix to saas module

See merge request gitlab-org/gitlab!70036
parents e8fed737 0f40022a
......@@ -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