Skip to content

Commit

Permalink
use acr login and m365 policy
Browse files Browse the repository at this point in the history
  • Loading branch information
benbp committed Mar 19, 2024
1 parent 2623b00 commit 4e31514
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 0 additions & 6 deletions eng/pipelines/publish-docker-image-isolated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@ stages:
os: linux

steps:
- task: Docker@2
displayName: Login to ACR
inputs:
command: login
containerRegistry: ${{ parameters.ContainerRegistry }}

- pwsh: |
$configurations = '${{ convertToJson(parameters.DockerDeployments) }}' -replace '\\', '/'
$assembledDependentTags = $(Build.SourcesDirectory)/eng/pipelines/templates/scripts/get-docker-manifest-input.ps1 `
Expand Down
3 changes: 3 additions & 0 deletions eng/pipelines/templates/stages/1es-redirect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@ extends:
psscriptanalyzer:
compiled: true
break: true
policy: M365
authenticatedContainerRegistries:
- serviceConnection: Azure SDK ACR

stages: ${{ parameters.stages }}

0 comments on commit 4e31514

Please sign in to comment.