Gitlab autodevops deployment with docker

Hi, is there a way to build a repository using autodevops and deploy it on bear Docker host?
or maybe there is a way to use a custom script only for this stage?