Class: Kubes::CLI::Docker

Inherits:
Kubes::Command show all
Defined in:
lib/kubes/cli/docker.rb

Instance Method Summary collapse

Methods inherited from Kubes::Command

alter_command_description, check_project!, command_help, dispatch, exit_on_failure?, website

Instance Method Details

#buildObject



6
7
8
9
10
# File 'lib/kubes/cli/docker.rb', line 6

def build
  builder = Kubes::Docker.new(options, "build")
  builder.run
  push if options[:push]
end

#pushObject



15
16
17
18
# File 'lib/kubes/cli/docker.rb', line 15

def push
  pusher = Kubes::Docker.new(options, "push")
  pusher.run
end