lib/percheron/actions/exec.rb in percheron-0.7.11 vs lib/percheron/actions/exec.rb in percheron-0.7.12
- old
+ new
@@ -35,10 +35,9 @@
execute_scripts!
commit_and_tag_new_image!
Stop.new(unit).execute! unless unit_running
end
- # FIXME
def commit_and_tag_new_image!
new_image = unit.container.commit
new_image.tag(repo: unit.image_repo, tag: unit.version.to_s, force: true)
end