Remove service directory on kamal remove

This commit is contained in:
Donal McBreen
2024-09-12 16:01:49 +01:00
parent d7d6fa34b0
commit b8972a6833
4 changed files with 22 additions and 2 deletions

View File

@@ -181,8 +181,8 @@ class Kamal::Cli::Main < Kamal::Cli::Base
def remove
confirming "This will remove all containers and images. Are you sure?" do
with_lock do
invoke "kamal:cli:proxy:remove", [], options.without(:confirmed)
invoke "kamal:cli:app:remove", [], options.without(:confirmed)
invoke "kamal:cli:proxy:remove", [], options.without(:confirmed)
invoke "kamal:cli:accessory:remove", [ "all" ], options
invoke "kamal:cli:registry:logout", [], options.without(:confirmed).merge(skip_local: true)
end