Skip to content

Commit

Permalink
update order to install dotnet sdk (#2382)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaraksh1 authored Mar 11, 2024
1 parent 4e2223d commit c8a38df
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions vsts/pipelines/templates/_releaseStepTemplate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ steps:
docker images && docker system prune -fa && docker images && echo
displayName: 'clean docker images'

- task: UseDotNet@2
displayName: 'Use .NET Core sdk 7.x'
inputs:
version: 7.0.306

- script: |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Expand Down Expand Up @@ -114,11 +119,6 @@ steps:
scriptPath: ./vsts/scripts/tagBuilderImagesForRelease.sh
condition: and(succeeded(), eq(variables['ReleaseBuildImages'], 'true'))

- task: UseDotNet@2
displayName: 'Use .NET Core sdk 7.x'
inputs:
version: 7.0.306

- task: ShellScript@2
displayName: 'Test runtime images for pme staging registry'
inputs:
Expand Down

0 comments on commit c8a38df

Please sign in to comment.