Module: Dapp::Dimg::Dapp::Command::Stages::Push

Included in:
Dapp
Defined in:
lib/dapp/dimg/dapp/command/stages/push.rb

Instance Method Summary collapse

Instance Method Details

#stages_pushObject



7
8
9
10
11
12
13
14
15
16
17
# File 'lib/dapp/dimg/dapp/command/stages/push.rb', line 7

def stages_push
  repo = option_repo
  validate_repo_name!(repo)
  build_configs.each do |config|
    log_dimg_name_with_indent(config) do
      Dimg.new(config: config, dapp: self, ignore_git_fetch: true, should_be_built: true).tap do |dimg|
        dimg.export_stages!(repo, format: '%{repo}:dimgstage-%{signature}')
      end
    end
  end
end