Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 936acd3

Browse files
committed
move to secure image
1 parent 9aeb2b0 commit 936acd3

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

yaml/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ resources:
2121

2222
stages:
2323
- stage: Build
24-
pool:
25-
vmImage: windows-latest
2624
displayName: Build Microsoft.PowerShell.TextUtility
25+
pool: PowerShell1ES
26+
demands:
27+
- ImageOverride -equals PSMMS2019-Secure
2728
jobs:
2829
- job: Build
2930
displayName: Build

yaml/releaseBuild.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ stages:
4444
jobs:
4545
- job: 'ReleaseBuild'
4646
displayName: Release Build
47-
pool:
48-
name: PowerShell1ES
47+
pool: PowerShell1ES
48+
demands:
49+
- ImageOverride -equals PSMMS2019-Secure
4950
steps:
5051
- pwsh: |
5152
# build agents get reused so we make sure to remove the old archive
@@ -61,8 +62,9 @@ stages:
6162
- group: ESRP
6263
displayName: Signing Build
6364
dependsOn: 'ReleaseBuild'
64-
pool:
65-
name: PowerShell1ES
65+
pool: PowerShell1ES
66+
demands:
67+
- ImageOverride -equals PSMMS2019-Secure
6668
steps:
6769
- powershell: |
6870
Get-ChildItem -Path env:

0 commit comments

Comments
 (0)