Module: Kamal::Commands::App::Images
- Included in:
- Kamal::Commands::App
- Defined in:
- lib/kamal/commands/app/images.rb
Instance Method Summary collapse
Instance Method Details
#list_images ⇒ Object
2 3 4 |
# File 'lib/kamal/commands/app/images.rb', line 2 def list_images docker :image, :ls, config.repository end |
#remove_images ⇒ Object
6 7 8 |
# File 'lib/kamal/commands/app/images.rb', line 6 def remove_images docker :image, :prune, "--all", "--force", *filter_args end |
#tag_latest_image ⇒ Object
10 11 12 |
# File 'lib/kamal/commands/app/images.rb', line 10 def tag_latest_image docker :tag, config.absolute_image, config.latest_image end |