This repository showcases a few different ways that the .NET SDK can be used to build and publish containerized applications.
The overall layout is:
- specific projects (in directories under the
src
directory) that demonstrate different kinds of apps, with - matching GitHub Actions Workflows to illustrate how to build and publish the apps for different scenarios
So far we have the following samples:
- Publishing a web application to various container registries
- Using MSBuild to automatically apply versioning tags to containers
- Using a custom base image container instead of the Microsoft-provided base images
- Building a 'multi-architecture' container image
- Containerizing AOT applications
- Creating a container with a custom EntryPoint script
- Containerizing a .NET Framework application for Windows
- Containerizing multiple apps in a solution
Please log issues to suggest more examples!