Click here to Skip to main content
15,886,422 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

i need to deploy a .NET Core WebApi project to an dedicated VM with IIS. The build step works and puts all into a <projectname>.zip package. The VM and WebDeploy Agent is configured and works well deploying via msdeploy from my local machine. But - i can not find an docker image to use in GitLab CI/CD pipeline that includes msdeploy to push the process into the build pipeline.

Has anyone a good idea which image I can use for that?

What I have tried:

First I guessed it is necessary to use dotnet publish but this uses msdeploy also and could not find the executable on the images following.

The images i found as candidates but do not offer msdeploy(.exe)
- mcr.microsoft.com/dotnet/sdk:7.0
- mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2019
- mcr.microsoft.com/dotnet/framework/aspnet:4.8.1
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900