Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save CyprienLecallier/bc32ddc2b51df8c32a6a85eb67608371 to your computer and use it in GitHub Desktop.
Save CyprienLecallier/bc32ddc2b51df8c32a6a85eb67608371 to your computer and use it in GitHub Desktop.
stages:
- stage: CI
displayName: CI
jobs:
- job: Tests
displayName: Tests
pool:
vmImage: ubuntu-latest
steps:
- template: tests.yaml
- job: Build_scan_push
displayName: Build scan push docker images
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
pool:
vmImage: ubuntu-latest
steps:
- template: build.yaml
- template: scan.yaml
- template: push.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment