Sha256: 05c425929cad90d56a0cb15de0cf8f1b0a7ced02676a49cc5b33a48fea0a3081

Contents?: true

Size: 630 Bytes

Versions: 4

Compression:

Stored size: 630 Bytes

Contents

namespace :docker do
  desc "updates build images for swagger and golang will overwrite existing images"
  task :update_images do
    config = Minke::Helpers.config

    puts "## Updating Docker images"
  	Minke::Docker.pull_image config[:build_config][:docker][:image]

    puts ""
  end

  desc "pull images for golang from Docker registry if not already downloaded"
  task :fetch_images do
    config = Minke::Helpers.config
    
    puts "## Pulling Docker images"
  	Minke::Docker.pull_image config[:build_config][:docker][:image] unless Minke::Docker.find_image config[:build_config][:docker][:image]

    puts ""
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
minke-0.16.0 lib/minke/rake/docker.rake
minke-0.15.0 lib/minke/rake/docker.rake
minke-0.14.0 lib/minke/rake/docker.rake
minke-0.13.0 lib/minke/rake/docker.rake