-
We were looking for ways to adopt docker containers for our .NET Core web apps and discovered this native container publish feature which we found really awesome because that way we don't have to worry about our project references or maintaining Dockerfiles. However we have a question concerning caching of project dependencies in GitHub workflows to optimize build speed. Before containerizing we would cache the Any help will be highly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes! The |
Beta Was this translation helpful? Give feedback.
-
Awesome! Thanks for the reply! |
Beta Was this translation helpful? Give feedback.
Yes! The
publish
command to create the container would reuse whatever NuGet packages cache that you've set up - this is one of the big benefits of making container generation more 'native' to the tools. You also get to seamlessly reuse your NuGet authentication, which has historically been difficult for Dockerfile-based builds.