diff options
Diffstat (limited to 'app/helpers/container_registry_helper.rb')
-rw-r--r-- | app/helpers/container_registry_helper.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/helpers/container_registry_helper.rb b/app/helpers/container_registry_helper.rb new file mode 100644 index 00000000000..9a5d84a90dd --- /dev/null +++ b/app/helpers/container_registry_helper.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module ContainerRegistryHelper + def limit_delete_tags_service? + Feature.enabled?(:container_registry_expiration_policies_throttling) && + ContainerRegistry::Client.supports_tag_delete? + end +end |