Sha256: 49163749d8dec75de5f42966d32d4e2f5f65cf6a9c9ac0cc1ac94aaad2f920fa
Contents?: true
Size: 1.57 KB
Versions: 16
Compression:
Stored size: 1.57 KB
Contents
# frozen_string_literal: true require 'rake_factory' require 'docker' require_relative '../tasks' module RakeDocker module TaskSets class Image < RakeFactory::TaskSet prepend RakeFactory::Namespaceable parameter :image_name, required: true parameter :repository_name, required: true parameter :repository_url, required: true parameter :work_directory, required: true parameter :copy_spec, default: [] parameter :create_spec, default: [] parameter :argument_names, default: [] parameter :tags, required: true parameter :credentials parameter :build_args parameter :platform parameter :clean_task_name, default: :clean parameter :prepare_task_name, default: :prepare parameter :build_task_name, default: :build parameter :tag_task_name, default: :tag parameter :push_task_name, default: :push parameter :publish_task_name, default: :publish task Tasks::Clean, name: RakeFactory::DynamicValue.new { |ts| ts.clean_task_name } task Tasks::Prepare, name: RakeFactory::DynamicValue.new { |ts| ts.prepare_task_name } task Tasks::Build, name: RakeFactory::DynamicValue.new { |ts| ts.build_task_name } task Tasks::Tag, name: RakeFactory::DynamicValue.new { |ts| ts.tag_task_name } task Tasks::Push, name: RakeFactory::DynamicValue.new { |ts| ts.push_task_name } task Tasks::Publish, name: RakeFactory::DynamicValue.new { |ts| ts.publish_task_name } end end end
Version data entries
16 entries across 16 versions & 1 rubygems