Read about our upcoming Code of Conduct on this issue

Commit 7b0e7973 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Memoize result of checking container images on project

parent c718042d07b5
......@@ -486,7 +486,7 @@ def container_registry_url
def has_container_registry_tags?
container_repositories.to_a.any?(&:has_tags?) ||
@images ||= container_repositories.to_a.any?(&:has_tags?) ||
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