Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Commit

Permalink
Remove redudant docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
EliiseS committed Mar 6, 2020
1 parent 57bf38b commit dbc092c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ jobs:
summaryFileLocation: $(System.DefaultWorkingDirectory)/**/cover.xml
reportDirectory: $(System.DefaultWorkingDirectory)/**/cover

- script: docker build -t $(IMAGE_NAME) . # add options to this command to meet your needs
condition: and(succeeded(), nq(variables['Build.SourceBranch'], 'refs/heads/master'))
displayName: 'Docker build'

- task: AzureCLI@1
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
displayName: Push to Azure Container Registry
Expand Down

0 comments on commit dbc092c

Please sign in to comment.