dotnet / dotnet-docker

Docker images for .NET and the .NET Tools.
https://hub.docker.com/_/microsoft-dotnet
MIT License
4.48k stars 1.94k forks source link

dotnet push-to-deploy images #5861

Closed alrz closed 1 month ago

alrz commented 2 months ago

Describe the Problem

In staging environments a push-to-deploy setup can be much faster by moving the build inside the same container as app.

Describe the Solution

The container would host a git bare repo that changes will be pushed to. When push hooks are triggered the source is rebuild and deployed inside the same instance.

Additional Context

lbussell commented 2 months ago

Hi @alrz - it's not clear what you are asking here. Are you asking for a sample showing a continuous deployment setup with .NET container images?

There are many fast and continuous deployment methods that don't involve hosting your app in a .NET SDK image or rebuilding the app inside the deployed container. For example, Deploy to Azure Container Apps with GitHub Actions.

lbussell commented 1 month ago

[Triage] Closing this issue as not planned since there's no clear work to be done here and no response from @alrz.