diff options
Diffstat (limited to 'lib/container_registry/repository.rb')
-rw-r--r-- | lib/container_registry/repository.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/container_registry/repository.rb b/lib/container_registry/repository.rb index c930878d265..f01330f3648 100644 --- a/lib/container_registry/repository.rb +++ b/lib/container_registry/repository.rb @@ -10,6 +10,10 @@ module ContainerRegistry @client ||= registry.client end + def path + [registry.path, name].compact.join('/') + end + def [](tag) ContainerRegistry::Tag.new(self, tag) end |