Group related methods with spacing
This commit is contained in:
@@ -84,6 +84,7 @@ class Kamal::Commands::App < Kamal::Commands::Base
|
|||||||
%(while read line; do echo ${line##{role_config.container_prefix}-}; done) # Extract SHA from "service-role-dest-SHA"
|
%(while read line; do echo ${line##{role_config.container_prefix}-}; done) # Extract SHA from "service-role-dest-SHA"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def list_containers
|
def list_containers
|
||||||
docker :container, :ls, "--all", *filter_args
|
docker :container, :ls, "--all", *filter_args
|
||||||
end
|
end
|
||||||
@@ -106,6 +107,7 @@ class Kamal::Commands::App < Kamal::Commands::Base
|
|||||||
docker :container, :prune, "--force", *filter_args
|
docker :container, :prune, "--force", *filter_args
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def list_images
|
def list_images
|
||||||
docker :image, :ls, config.repository
|
docker :image, :ls, config.repository
|
||||||
end
|
end
|
||||||
@@ -118,6 +120,7 @@ class Kamal::Commands::App < Kamal::Commands::Base
|
|||||||
docker :tag, config.absolute_image, config.latest_image
|
docker :tag, config.absolute_image, config.latest_image
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def make_env_directory
|
def make_env_directory
|
||||||
make_directory role_config.host_env_directory
|
make_directory role_config.host_env_directory
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user