Skip to content

Commit

Permalink
fix branch
Browse files Browse the repository at this point in the history
Signed-off-by: Sun, Xuehao <[email protected]>
  • Loading branch information
XuehaoSun committed Jul 4, 2024
1 parent 911ab3b commit c3d872f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .azure-pipelines/template/docker-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ steps:
git clone ${{ parameters.repo }} ${BUILD_SOURCESDIRECTORY}
git config --global --add safe.directory ${BUILD_SOURCESDIRECTORY}
cd ${BUILD_SOURCESDIRECTORY}
git checkout master
displayName: "Checkout out master"
git checkout main
displayName: "Checkout out main"
- script: |
if [[ ! $(docker images | grep -i ${{ parameters.repoName }}:${{ parameters.repoTag }}) ]]; then
Expand Down

0 comments on commit c3d872f

Please sign in to comment.