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 ...@@ -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