Sha256: 2fdb922c8580d85daf929935c3010a5ccef2625c34811fd321a7346c93563e0d
Contents?: true
Size: 868 Bytes
Versions: 16
Compression:
Stored size: 868 Bytes
Contents
# frozen_string_literal: true require 'rake_factory' module RakeDocker module Tasks class Publish < RakeFactory::Task default_name :publish default_description(RakeFactory::DynamicValue.new do |t| "Publish #{t.image_name} image" end) parameter :image_name parameter :clean_task_name, default: :clean parameter :build_task_name, default: :build parameter :tag_task_name, default: :tag parameter :push_task_name, default: :push action do |t, args| Rake::Task[t.scope.path_with_task_name(t.clean_task_name)].invoke(*args) Rake::Task[t.scope.path_with_task_name(t.build_task_name)].invoke(*args) Rake::Task[t.scope.path_with_task_name(t.tag_task_name)].invoke(*args) Rake::Task[t.scope.path_with_task_name(t.push_task_name)].invoke(*args) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems