Skip to content

Commit cee8b69

Browse files
committed
add commit hash to docker tag
1 parent 60a0745 commit cee8b69

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

azure-pipelines/templates/docker-build-push-jobs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,15 @@ jobs:
159159

160160
- task: DotnetCoreCLI@2
161161
displayName: 'Run unit tests'
162-
condition: and(succeeded(), eq(parameters.shouldRunUnitTests, true))
162+
condition: and(succeeded(), eq(${{ parameters.shouldRunUnitTests }}, true))
163163
inputs:
164164
command: 'test'
165165
projects: '${{ parameters.unitTestsProjectPath }}'
166166
arguments: '--no-build --configuration ${{ parameters.buildConfiguration }} --collect "Code Coverage"'
167167

168168
- task: DotNetCoreCLI@2
169169
displayName: 'Run integration tests'
170-
condition: and(succeeded(), eq(parameters.shouldRunIntegrationTests, true))
170+
condition: and(succeeded(), eq(${{ parameters.shouldRunIntegrationTests }}, true))
171171
inputs:
172172
command: 'test'
173173
projects: '${{ parameters.integrationTestsProjectPath }}'
@@ -202,7 +202,7 @@ jobs:
202202
203203
- task: Docker@2
204204
displayName: 'Push to ACR'
205-
condition: and(succeeded(), eq(parameters.shouldPushToAcr, true))
205+
condition: and(succeeded(), eq(${{ parameters.shouldPushToAcr }}, true))
206206
inputs:
207207
command: push
208208
containerRegistry: ${{ parameters.acrServiceConnection }}

0 commit comments

Comments
 (0)