IonoscloudContainerRegistry - the Ruby gem for the Container Registry service
Container Registry service enables IONOS clients to manage docker and OCI compliant registries for use by their managed Kubernetes clusters. Use a Container Registry to ensure you have a privately accessed registry to efficiently support image pulls.
To build the Ruby code into a gem:
gem build ionoscloud-container-registry.gemspec
Then either install the gem locally:
gem install ./ionoscloud-container-registry-1.0.0.gem
(for development, run
gem install --dev ./ionoscloud-container-registry-1.0.0.gemto install the development dependencies)
Finally add this to the Gemfile:
gem 'ionoscloud-container-registry', '~> 1.0.0'
If the Ruby gem is hosted at a git repository: https://github.com/ionos-cloud/sdk-ruby-container-registry, then add the following in the Gemfile:
gem 'ionoscloud-container-registry', :git => 'https://github.com/ionos-cloud/sdk-ruby-container-registry.git'
Include the Ruby code directly using
ruby -Ilib script.rb