Module: Dapp::Project::Command::Stages::Push

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

Overview

Push

Instance Method Summary collapse

Instance Method Details

#stages_push(repo) ⇒ Object



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

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