Skip to content

Commit

Permalink
Merge pull request #3442 from AlexsLemonade/ark/post-deploy-cleanup
Browse files Browse the repository at this point in the history
Add deploy box cleanup instructions
  • Loading branch information
arkid15r authored Oct 26, 2023
2 parents d0b17b9 + c95a4eb commit 504b31f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions infrastructure/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -423,3 +423,8 @@ if [[ -n $container_running ]]; then
fi

echo "Deploy completed successfully."

# Remove Docker images created more than 30 days ago.
echo "Cleaning up Docker images."
docker image prune -a --force --filter "until=720h"
echo "Cleanup completed."

0 comments on commit 504b31f

Please sign in to comment.