Class: KuberKit::ImageCompiler::ActionHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/kuber_kit/image_compiler/action_handler.rb

Instance Method Summary collapse

Instance Method Details

#call(shell, image_name, build_id) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/kuber_kit/image_compiler/action_handler.rb', line 9

def call(shell, image_name, build_id)
  image = image_store.get_image(image_name)
  
  compile_dir = generate_compile_dir(build_id: build_id)

  compiler.compile(shell, image, compile_dir)
end