Replies: 1 comment 1 reply
-
How would we have any idea if the registry even had the images that we expect? The only reasonable defaults that we have any knowledge of are the Microsoft images. If an organization wanted to do similar inference then I'd suggest that they create a nuget package with MSBuild logic to do that inference. That allows them to encode whatever patterns they like, and doesn't lead to the SDK making incorrect inference. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sdk builds infer the base image using TargetFramework among other things, however if you want to use a hosted registry you would have to set the fully qualified image in
ContainerBaseImage
which overrides the project-dependent logic used to choose the base image.Using an option like
ContainerBaseImageRegistry
could only hint the registry and still hand off the actual image selection to the sdk.Beta Was this translation helpful? Give feedback.
All reactions