Find the latest stable version from https://alpinelinux.org/releases/
Edit the repository number to the latest stable version
nano /etc/apk/repositories
Apply the updates to the current version
apk update
apk upgrade
Sync and reboot the server
sync
reboot
Verify the upgrade worked
cat /etc/alpine-release