CML runner + docker on Github

Hi. I’m using cml runner to deploy a container on EC2 and I need to use docker commands inside (build an image based on dvc pipeline results). I have seen there is a “docker-volumes” option which can enable using docker but it’s only available on GitLab, is there any solution or workaround for GitHub?