lib/dockly/rake_task.rb in dockly-3.0.1 vs lib/dockly/rake_task.rb in dockly-3.0.2
- old
+ new
@@ -101,10 +101,10 @@
.copy_from_s3(Dockly::History.duplicate_build_sha[0..6])
end
task :build, [:name] => 'dockly:init' do |t, args|
docker = Dockly::RakeHelper.find_docker!(args[:name])
- docker.generate! unless docker.exists?
+ docker.generate! unless docker.exists? || docker.s3_bucket.nil?
end
end
task :prepare_all => 'dockly:init' do
Dockly.debs.keys.each do |deb|