Skip to content

Commit de1227b

Browse files
authored
Update ci-build.yml
Re enabled condition to publish to docker after merging to main
1 parent e16112a commit de1227b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ extends:
164164
publishFeedCredentials: 'microsoftgraph PowerShell Gallery connection'
165165

166166
- stage: PushDockerImageToRegistry
167-
#condition: and(or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), eq(variables['Build.SourceBranch'], variables['PREVIEW_BRANCH'])), not(contains(variables['Build.SourceBranch'], '-preview')))
167+
condition: and(or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), eq(variables['Build.SourceBranch'], variables['PREVIEW_BRANCH'])), not(contains(variables['Build.SourceBranch'], '-preview')))
168168
dependsOn: stage
169169
displayName: 'Push docker image'
170170
jobs:

0 commit comments

Comments
 (0)