Class: Kamal::Commands::Registry
- Defined in:
- lib/kamal/commands/registry.rb
Constant Summary
Constants inherited from Base
Base::DOCKER_HEALTH_STATUS_FORMAT
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#container_id_for, #initialize, #make_directory, #make_directory_for, #remove_directory, #remove_file, #run_over_ssh
Constructor Details
This class inherits a constructor from Kamal::Commands::Base
Instance Method Details
#login ⇒ Object
4 5 6 7 8 9 |
# File 'lib/kamal/commands/registry.rb', line 4 def login docker :login, registry.server, "-u", sensitive(Kamal::Utils.escape_shell_value(registry.username)), "-p", sensitive(Kamal::Utils.escape_shell_value(registry.password)) end |
#logout ⇒ Object
11 12 13 |
# File 'lib/kamal/commands/registry.rb', line 11 def logout docker :logout, registry.server end |