Class: Mrsk::Commands::Registry
- Inherits:
-
Base
- Object
- Base
- Mrsk::Commands::Registry
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
Instance Method Details
#login ⇒ Object
6
7
8
|
# File 'lib/mrsk/commands/registry.rb', line 6
def login
docker :login, registry["server"], "-u", redact(registry["username"]), "-p", redact(registry["password"])
end
|
#logout ⇒ Object
10
11
12
|
# File 'lib/mrsk/commands/registry.rb', line 10
def logout
docker :logout, registry["server"]
end
|