Use azurelinux 3 build image instead of 1es-ubuntu-2204#2031
Merged
lbussell merged 1 commit intodotnet:mainfrom Mar 17, 2026
Merged
Use azurelinux 3 build image instead of 1es-ubuntu-2204#2031lbussell merged 1 commit intodotnet:mainfrom
lbussell merged 1 commit intodotnet:mainfrom
Conversation
Avoids disk space issues on the image
Member
Author
lbussell
approved these changes
Mar 17, 2026
Member
lbussell
left a comment
There was a problem hiding this comment.
Wow, I really thought I already did this. I guess I did only public and not internal.
6 tasks
lbussell
added a commit
that referenced
this pull request
Mar 19, 2026
The Azure Linux 3 agent image migration (#2031) broke the Sign stage. The PowerShell version in Azure Linux 3 depends on .NET 9.0. The MicroBuild install task depends on the .NET 8.0 SDK. `UseDotNet@2` sets `DOTNET_ROOT` globally, which causes PowerShell to fail to run. This PR fixes the problem by rearranging/refactoring the initialization stages so that `init-signing.yml` is ran after `init-common.yml`, so that `init-signing.yml` has access to `Install-DotNetSdk.ps1`. Then, we use `Install-DotNetSdk.ps1` to install .NET 8 withut setting the PATH, and instead set PATH only for the MicroBuild plugin install task. --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Avoids disk space issues on the image