Class: Pipedawg::Job::Skopeo

Inherits:
Pipedawg::Job show all
Defined in:
lib/pipedawg/job/skopeo.rb,
lib/pipedawg/job/skopeo/copy.rb

Overview

Pipedawg::Job::Skopeo class

Direct Known Subclasses

Copy

Defined Under Namespace

Classes: Copy

Instance Attribute Summary

Attributes inherited from Pipedawg::Job

#name, #opts

Instance Method Summary collapse

Methods inherited from Pipedawg::Job

#to_hash

Constructor Details

#initialize(name, opts = {}) ⇒ Skopeo

Returns a new instance of Skopeo.



7
8
9
10
11
12
13
# File 'lib/pipedawg/job/skopeo.rb', line 7

def initialize(name, opts = {})
  opts = {
    command: 'skopeo',
    image: { entrypoint: [''], name: 'quay.io/skopeo/stable:latest' }
  }.merge(opts)
  super name, opts
end