How to set the init system of `arm64v8/ubuntu:22.04` image to systemd?

System has not been booted with systemd as init system (PID 1). Can't operate. This eventually leads to an error in snap packaging.

https://github.com/picguard/picguard/actions/runs/9762446522/workflow

https://github.com/picguard/picguard/actions/runs/9762446522/job/26945932349#step:7:979