Class: Bgb::CLI
- Inherits:
-
Thor
- Object
- Thor
- Bgb::CLI
- Defined in:
- lib/bgb.rb
Instance Method Summary collapse
Instance Method Details
#build ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/bgb.rb', line 11 def build file_path = [:file] @setting = build_setting(file_path) Dir.mktmpdir do |build_path| login git_pull(build_path) docker_build(build_path) tagging push end end |
#images ⇒ Object
26 27 28 29 30 31 |
# File 'lib/bgb.rb', line 26 def images file_path = [:file] @setting = build_setting(file_path) login docker_images end |