diff --git a/eng/pipelines/publish-docker-image-isolated.yml b/eng/pipelines/publish-docker-image-isolated.yml index a5441eb1af2..095da937fc2 100644 --- a/eng/pipelines/publish-docker-image-isolated.yml +++ b/eng/pipelines/publish-docker-image-isolated.yml @@ -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 ` diff --git a/eng/pipelines/templates/stages/1es-redirect.yml b/eng/pipelines/templates/stages/1es-redirect.yml index ef9771564f5..b3cebd63043 100644 --- a/eng/pipelines/templates/stages/1es-redirect.yml +++ b/eng/pipelines/templates/stages/1es-redirect.yml @@ -23,6 +23,8 @@ extends: ${{ else }}: template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates parameters: + authenticatedContainerRegistries: + - serviceConnection: azsdkengsys settings: skipBuildTagsForGitHubPullRequests: true sdl: @@ -36,5 +38,6 @@ extends: psscriptanalyzer: compiled: true break: true + policy: M365 stages: ${{ parameters.stages }}