Remove images of the same name before pulling a new one

Or you'll end up with untagged dupes.
This commit is contained in:
David Heinemeier Hansson
2023-02-20 18:06:16 +01:00
parent 9d6ccf9889
commit 42b343436d
4 changed files with 21 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
class Mrsk::Commands::Builder < Mrsk::Commands::Base
delegate :create, :remove, :push, :pull, :info, to: :target
delegate :create, :remove, :push, :clean, :pull, :info, to: :target
def name
target.class.to_s.remove("Mrsk::Commands::Builder::").underscore