Skip to content

Commit

Permalink
Merge pull request #37 from mssonicbld/sonicbld/202305-merge
Browse files Browse the repository at this point in the history
[code sync] Merge code from sonic-net/sonic-utilities.msft:202305 to 202305
  • Loading branch information
mssonicbld authored Dec 6, 2023
2 parents 5f5f348 + 2c7bb9d commit b0d954a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ resources:
name: sonic-net/sonic-swss
endpoint: sonic-net

variables:
- name: BUILD_BRANCH
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
value: $(System.PullRequest.TargetBranch)
${{ else }}:
value: $(Build.SourceBranchName)

stages:
- stage: Build

Expand All @@ -26,7 +33,7 @@ stages:
vmImage: ubuntu-20.04

container:
image: sonicdev-microsoft.azurecr.io:443/sonic-slave-bullseye:latest
image: sonicdev-microsoft.azurecr.io:443/sonic-slave-bullseye:$(BUILD_BRANCH)

steps:
- script: |
Expand Down

0 comments on commit b0d954a

Please sign in to comment.