Compare commits
1 Commits
v2.1.2
...
concurrent
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
00e3015142 |
@@ -1,8 +1,7 @@
|
|||||||
class Kamal::Cli::Registry < Kamal::Cli::Base
|
class Kamal::Cli::Registry < Kamal::Cli::Base
|
||||||
desc "login", "Log in to registry locally and remotely"
|
desc "login", "Log in to registry locally and remotely"
|
||||||
def login
|
def login
|
||||||
run_locally { execute *KAMAL.registry.login }
|
on([ :local ] + KAMAL.hosts) { execute *KAMAL.registry.login }
|
||||||
on(KAMAL.hosts) { execute *KAMAL.registry.login }
|
|
||||||
# FIXME: This rescue needed?
|
# FIXME: This rescue needed?
|
||||||
rescue ArgumentError => e
|
rescue ArgumentError => e
|
||||||
puts e.message
|
puts e.message
|
||||||
|
|||||||
Reference in New Issue
Block a user