lib/vidar/cli.rb in vidar-0.12.0 vs lib/vidar/cli.rb in vidar-0.12.1
- old
+ new
@@ -43,10 +43,10 @@
desc "publish", "Publish docker images on docker registry"
def publish
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}"
+ 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}"