Class: Blubber::Cli

Inherits:
Thor
  • Object
show all
Defined in:
lib/blubber/cli.rb

Instance Method Summary collapse

Instance Method Details

#build(layers = nil) ⇒ Object



13
14
15
16
17
18
19
20
21
22
# File 'lib/blubber/cli.rb', line 13

def build(layers = nil)
  flow = Flow.new(
    layers: layers,
    build: true,
    tag: options.tag,
    push: options.push,
    context: Context.new(docker_registry: options.registry)
  )
  exit flow.run
end