Deploy on windows using CD

I am fairly new to creating CI/CD pipeline. As an example I have created a CI/CD pipeline to push spring boot war file onto my local machine (Windows 10) during the deploy stage . (docker image used here is maven:3-jdk-8)

Gitlab runner (having executor as docker) configured is also running on my local machine and tied to my gitlab project.

I am not sure how to copy the target file (i.e war file generated) from inside my docker image/container onto the local machine. What approaches are available to me? Or is there any good resource I could refer to?