Since .NET 7.0.300, the new -a/--arch argument is supported that accepts the same formatting as Docker's $TARGETARCH. This greatly simplifies the restore and build commands in this sample.
Wow! Somehow missed this PR, so apologies on the slow response. Thanks for the update and for sharing the new capabilities. Super cool! We'll go ahead and merge this in. Thanks again!
Since .NET 7.0.300, the new
-a/--arch
argument is supported that accepts the same formatting as Docker's $TARGETARCH. This greatly simplifies the restore and build commands in this sample.See @richlander's blog post and https://github.com/dotnet/sdk/issues/30369 for more context.