Class: Mrsk::Commands::Registry

Inherits:
Base
  • Object
show all
Defined in:
lib/mrsk/commands/registry.rb

Instance Attribute Summary

Attributes inherited from Base

#config

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Mrsk::Commands::Base

Instance Method Details

#loginObject



6
7
8
# File 'lib/mrsk/commands/registry.rb', line 6

def 
  docker :login, registry["server"], "-u", redact(registry["username"]), "-p", redact(registry["password"])
end

#logoutObject



10
11
12
# File 'lib/mrsk/commands/registry.rb', line 10

def logout
  docker :logout, registry["server"]
end