[ci] Fix a docker-sonic-slave pipeline format in variable reference. (#10494)

this issue affect official amd64 docker-sonic-slave build.
This commit is contained in:
Shilong Liu 2022-04-08 10:46:59 +08:00 committed by GitHub
parent 39e1e92c08
commit 51e4e8068e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ stages:
- ${{ each dist in parameters.dists }}:
- ${{ if endswith(variables['Build.DefinitionName'], dist) }}:
- ${{ each arch in parameters.arches }}:
- ${{ if eq(variables[''Build.Reason], 'PullRequest') }}:
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
- template: docker-sonic-slave-template.yml
parameters:
pool: sonicbld