Skip to content

Commit 764326e

Browse files
author
Florian Wagner
committed
resolve CD issue on PR
Signed-off-by: Florian Wagner <[email protected]>
1 parent f4786ca commit 764326e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

AzureDevOps/agentbuild.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
- name: RepoName
4242
value: h2floh/geobotagent
4343
steps:
44+
4445
- task: Docker@0
4546
displayName: 'Build an image'
4647
inputs:
@@ -56,3 +57,4 @@ jobs:
5657
dockerRegistryConnection: 'DockerHub h2floh'
5758
action: 'Push an image'
5859
includeLatestTag: true
60+
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))

AzureDevOps/keyvaultcertbotbuild.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
- name: ImageTag
4444
value: keyvault
4545
steps:
46+
4647
- task: Docker@0
4748
displayName: 'Build an image'
4849
inputs:
@@ -58,3 +59,4 @@ jobs:
5859
dockerRegistryConnection: 'DockerHub h2floh'
5960
action: 'Push an image'
6061
includeLatestTag: false
62+
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))

0 commit comments

Comments
 (0)