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 8e3f6de
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 @@ -23,6 +23,8 @@ extends:
${{ else }}:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
authenticatedContainerRegistries:
- serviceConnection: azsdkengsys
settings:
skipBuildTagsForGitHubPullRequests: true
sdl:
Expand All @@ -36,5 +38,6 @@ extends:
psscriptanalyzer:
compiled: true
break: true
policy: M365

stages: ${{ parameters.stages }}

0 comments on commit 8e3f6de

Please sign in to comment.