Sha256: 2bca072677d6f6baaa0e8a68a02fcce0059a1ed6284e5a47e513cd00e987997c
Contents?: true
Size: 704 Bytes
Versions: 41
Compression:
Stored size: 704 Bytes
Contents
namespace :docker do desc "updates build images for swagger and golang will overwrite existing images" task :update_images do config = Minke::Config::Reader.new.read './config.yml' puts "## Updating Docker images" runner = Minke::Docker::DockerRunner.new runner.pull_image config.docker.build_image puts "" end desc "pull images for golang from Docker registry if not already downloaded" task :fetch_images do config = Minke::Config::Reader.new.read './config.yml' puts "## Pulling Docker images" runner = Minke::Docker::DockerRunner.new runner.pull_image config.docker.build_image unless runner.find_image config.docker.build_image puts "" end end
Version data entries
41 entries across 41 versions & 1 rubygems