Skip to content

Commit

Permalink
fix azure building pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Kral <[email protected]>
  • Loading branch information
im-konge committed Jun 13, 2022
1 parent 8c98df7 commit fbcbb37
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .azure/build-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
env:
DOCKER_REGISTRY: "quay.io"
DOCKER_ORG: "strimzi-test-clients"
${{ if startsWith(variables['build.sourceBranch'], 'refs/tags/') }}:
DOCKER_TAG: ${{ replace(variables['build.SourceBranch'], 'refs/tags/', '') }}
ARCHITECTURES: 'amd64 s390x ppc64le arm64'
- script: |
docker login -u $DOCKER_USER -p $DOCKER_PASS $DOCKER_REGISTRY
Expand All @@ -64,8 +66,10 @@ jobs:
DOCKER_ORG: "strimzi-test-clients"
DOCKER_USER: $(QUAY_USER)
DOCKER_PASS: $(QUAY_PASS)
${{ if startsWith(variables['build.sourceBranch'], 'refs/tags/') }}:
DOCKER_TAG: ${{ replace(variables['build.SourceBranch'], 'refs/tags/', '') }}
ARCHITECTURES: 'amd64 s390x ppc64le arm64'
condition: and(succeeded(), eq(variables['build.sourceBranch'], 'refs/heads/main'))
condition: and(succeeded(), or(eq(variables['build.sourceBranch'], 'refs/heads/main'), startsWith(variables['build.sourceBranch'], 'refs/tags/')))
- task: PublishTestResults@2
inputs:
testResultsFormat: JUnit
Expand Down

0 comments on commit fbcbb37

Please sign in to comment.