I'm using Google cloud, I have a linux VM up and ready for use, I have an ASP.net core web app on Azure devops. I have configured the build pipeline for this webapp, now I want to automate its deployment on my Linux server, but I don't know how to do that.
I have 2 options I tried:
- Building a docker container with my app and deploy on google container registry, but I couldn't find a way to later trigger the docker pull of my container on my linux VM to run it there, or run it with a docker compose.
- Building a self contained package of the ASP.net core app, but I can't find a way of carrying the package and deploying it to my VM instance.
There are several tutorials about deploying to Google app engine, GKE and Cloud Run. But I can't find one that shows how to do what I want with my linux VM.
Any help to overcome this?