You can run sudo apt update && sudo apt upgrade, the DO image is configured with an apt repo for Caddy.
sudo apt update && sudo apt upgrade