class Ey::Core::Cli::DockerRegistryLogin

Public Instance Methods

handle() click to toggle source
# File lib/ey-core/cli/docker_registry_login.rb, line 22
def handle
  credentials = core_account.retrieve_docker_registry_credentials(option(:location))
  stdout.puts "docker login -u #{credentials.username} -p #{credentials.password} #{credentials.registry_endpoint}"
end