Skip to content

Commit

Permalink
Try to fix Azure build for release tags (#4552)
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Scholz <www@scholzj.com>
  • Loading branch information
scholzj authored Mar 11, 2021
1 parent e45cf53 commit 2d9dcfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .azure/templates/default_variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ variables:
tag: latest
commit: latest
${{ if ne( variables['Build.SourceBranchName'], 'master' ) }}:
${{ if startsWith( variables['Build.SourceBranchName'], 'release-' ) }}:
${{ if startsWith( variables['Build.SourceBranchName'], 'refs/tags/' ) }}:
pull_request: false
docker_org: strimzi
docker_registry: quay.io
commit: release
tag: release
${{ if not(startsWith( variables['Build.SourceBranchName'], 'release-' )) }}:
${{ if not(startsWith( variables['Build.SourceBranchName'], 'refs/tags/' )) }}:
pull_request: true
docker_org: strimzi
docker_registry: localhost:5000
Expand Down

0 comments on commit 2d9dcfa

Please sign in to comment.