fixed error in condition for builds
This commit is contained in:
parent
8456753712
commit
9489499567
@ -5,7 +5,10 @@ parameters:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: manifest
|
- job: manifest
|
||||||
condition: ne('${{ variables['Build.Reason'] }}', 'PullRequest')
|
condition: and(succeeded(),ne('${{ variables['Build.Reason'] }}', 'PullRequest'))
|
||||||
|
dependsOn:
|
||||||
|
- BuildWindows
|
||||||
|
- BuildLinux
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'Ubuntu 16.04'
|
vmImage: 'Ubuntu 16.04'
|
||||||
steps:
|
steps:
|
||||||
@ -23,7 +26,3 @@ jobs:
|
|||||||
docker --config ~/.docker push eshop/${{ parameters.image }}:${{ parameters.branch }}
|
docker --config ~/.docker push eshop/${{ parameters.image }}:${{ parameters.branch }}
|
||||||
docker --config ~/.docker push eshop/${{ parameters.image }}:latest
|
docker --config ~/.docker push eshop/${{ parameters.image }}:latest
|
||||||
displayName: Create multiarch manifest
|
displayName: Create multiarch manifest
|
||||||
dependsOn:
|
|
||||||
- BuildWindows
|
|
||||||
- BuildLinux
|
|
||||||
conditions: succeeded()
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user