debian-mirror-gitlab/lib/gitlab/ci/build/credentials/registry/dependency_proxy.rb
2021-04-17 20:07:23 +05:30

21 lines
391 B
Ruby

# frozen_string_literal: true
module Gitlab
module Ci
module Build
module Credentials
module Registry
class DependencyProxy < GitlabRegistry
def url
Gitlab.host_with_port
end
def valid?
Gitlab.config.dependency_proxy.enabled
end
end
end
end
end
end
end