lib/jarl/application.rb in jarl-0.3.2 vs lib/jarl/application.rb in jarl-0.3.3
- old
+ new
@@ -94,10 +94,10 @@
fail 'Not a file based image' unless image_is_a_path?
Docker::Image.new(image_name, image_path).build!
end
def image_name
- image_is_a_path? ? File.basename(name) : image
+ image_is_a_path? ? File.basename(image) : image
end
def image_path
image_is_a_path? ? image : nil
end