Skip to content

Commit

Permalink
Cleanup old images before fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
randy-sab-roy committed Dec 5, 2024
1 parent b26eaf7 commit a21363b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions host/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ function resize_cached_image {
}

function pull_image {
log_output "[HOST] 🗑️ Removing all old images"
rm -rf ~/.tart

log_output "[HOST] ⬇️ Downloading from remote registry"
if [ -z "$REGISTRY_USERNAME" ]; then
tart pull "$REGISTRY_PATH" --concurrency 1
Expand Down

0 comments on commit a21363b

Please sign in to comment.