Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log output error missing tags when using ContainerImageTags instead of ContainerImageTag #277

Closed
peter-dolkens opened this issue Jan 4, 2023 · 1 comment

Comments

@peter-dolkens
Copy link

Tags are missing when passing ContainerImageTags in the dotnet publish command as follows:

dotnet publish --os linux --arch x64 -p:ContainerImageTags=example
MSBuild version 17.4.0+18d5aef85 for .NET
...
Building image 'dotnet/exampleimage' with tags  on top of base image mcr.microsoft.com/dotnet/aspnet:6.0

Tags are present when passing ContainerImageTag:

dotnet publish --os linux --arch x64 -p:ContainerImageTag=example
MSBuild version 17.4.0+18d5aef85 for .NET
...
Building image 'dotnet/exampleimage' with tags example on top of base image mcr.microsoft.com/dotnet/aspnet:6.0

Additionally, an error is thrown if you have ContainerImageTag set in the csproj file, and try to pass ContainerImageTags and vice-versa. Ideally these two variables would override each other.

@peter-dolkens
Copy link
Author

Attempted to fix, but couldn't find the cause of the error.

Turns out it was fixed in #239

Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant