generated from dotnet/new-repo
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Report error in CreateNewImage when no tags are passed in #240
Comments
rainersigwald
added a commit
to rainersigwald/sdk-container-builds
that referenced
this issue
Nov 8, 2022
If something caused ImageTags to be empty, the foreach-tag-push loop would silently do nothing, which is a confusing user experience. Instead, emit an error and fail. Fixes dotnet#240.
rainersigwald
added a commit
to rainersigwald/sdk-container-builds
that referenced
this issue
Nov 11, 2022
If something caused ImageTags to be empty, the foreach-tag-push loop would silently do nothing, which is a confusing user experience. Instead, let MSBuild emit an error and fail. Fixes dotnet#240.
rainersigwald
added a commit
to rainersigwald/sdk-container-builds
that referenced
this issue
Nov 11, 2022
If something caused ImageTags to be empty, the foreach-tag-push loop would silently do nothing, which is a confusing user experience. Instead, let MSBuild emit an error and fail. Fixes dotnet#240.
baronfel
pushed a commit
that referenced
this issue
Nov 15, 2022
GangWang01
pushed a commit
to GangWang01/sdk
that referenced
this issue
Mar 20, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The silent failure is because there is nothing in this foreach:
sdk-container-builds/Microsoft.NET.Build.Containers/CreateNewImage.cs
Line 237 in 3e0470b
So we just don't attempt any push. We should probably error if
ImageTags
is empty.Originally posted by @rainersigwald in #236 (comment)
The text was updated successfully, but these errors were encountered: