No need for invocation

This commit is contained in:
David Heinemeier Hansson
2023-02-19 17:22:03 +01:00
parent f3a5845501
commit a5fd4c76ba
2 changed files with 4 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
class Mrsk::Cli::Build < Mrsk::Cli::Base
desc "deliver", "Build app and push app image to registry then pull image on servers"
def deliver
invoke :push
invoke :pull
push
pull
end
desc "push", "Build and push app image to registry"

View File

@@ -1,8 +1,8 @@
class Mrsk::Cli::Prune < Mrsk::Cli::Base
desc "all", "Prune unused images and stopped containers"
def all
invoke :containers
invoke :images
containers
images
end
desc "images", "Prune unused images older than 7 days"