Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 9489499

Browse files
committed
fixed error in condition for builds
1 parent 8456753 commit 9489499

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

build/azure-devops/multiarch.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ parameters:
55

66
jobs:
77
- job: manifest
8-
condition: ne('${{ variables['Build.Reason'] }}', 'PullRequest')
8+
condition: and(succeeded(),ne('${{ variables['Build.Reason'] }}', 'PullRequest'))
9+
dependsOn:
10+
- BuildWindows
11+
- BuildLinux
912
pool:
1013
vmImage: 'Ubuntu 16.04'
1114
steps:
@@ -23,7 +26,3 @@ jobs:
2326
docker --config ~/.docker push eshop/${{ parameters.image }}:${{ parameters.branch }}
2427
docker --config ~/.docker push eshop/${{ parameters.image }}:latest
2528
displayName: Create multiarch manifest
26-
dependsOn:
27-
- BuildWindows
28-
- BuildLinux
29-
conditions: succeeded()

0 commit comments

Comments
 (0)