No need for invocation
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user