lib/vidar/cli.rb in vidar-1.1.0 vs lib/vidar/cli.rb in vidar-1.1.1

- old
+ new

@@ -40,13 +40,13 @@ Run.docker "push #{Config.get!(:image)}:#{Config.get!(:base_stage_name)}-#{Config.get!(:current_branch)}" end desc "publish", "Publish docker images on docker registry" def publish - base_image_tag = "#{Config.get!(:image)}:#{Config.get!(:base_stage_name)}" + base_image_tag = "#{Config.get!(:image)}:#{Config.get!(:base_stage_name)}" revision_image_tag = "#{Config.get!(:image)}:#{Config.get!(:revision)}" - release_image_tag = "#{Config.get!(:image)}:#{Config.get!(:release_stage_name)}" - latest_image_tag = "#{Config.get!(:image)}:latest" + release_image_tag = "#{Config.get!(:image)}:#{Config.get!(:release_stage_name)}" + latest_image_tag = "#{Config.get!(:image)}:latest" Log.info "Publishing #{revision_image_tag}" Run.docker "tag #{release_image_tag} #{revision_image_tag}" Run.docker "push #{revision_image_tag}"