We have a windows service application built using .Net framework 4.6.2. This .Net project is having references to Nuget packages from a custom Nuget feed. We have a requirement to use DevOps pipeline to build docker image, push docker image to Azure Container Registry and publish docker image to Azure Kubernetes Services (AKS).
I’ve taken below github example as a reference and created a docker file.
I’ve configured packageSources and PackageSourceCredentials within nuget.config for docker to be able to pull nuget packages from custom feed.
But, this approach requires a personal access token to be updated after it expires.
Do you have any alternate solutions for resolving the NuGet restore from the custom feed?