Skip to content

Commit

Permalink
Enable pipeline referencing through the template
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlTern committed Oct 2, 2023
1 parent 9554a96 commit b1dc546
Showing 1 changed file with 12 additions and 22 deletions.
34 changes: 12 additions & 22 deletions examples/templates/Azure/azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
trigger:
branches:
include:
- '*' # Run on all branches

resources:
- repo: self

stages:
- stage: debricked
jobs:
- job: debricked
displayName: Debricked scan
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
curl -L https://github.com/debricked/cli/releases/latest/download/cli_linux_x86_64.tar.gz | tar -xz debricked
./debricked scan
displayName: Debricked scan
env:
DEBRICKED_TOKEN: $(DEBRICKED_TOKEN)
jobs:
- job: debricked
displayName: Debricked scan
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
curl -L https://github.com/debricked/cli/releases/latest/download/cli_linux_x86_64.tar.gz | tar -xz debricked
./debricked scan
displayName: Debricked scan
env:
DEBRICKED_TOKEN: $(DEBRICKED_TOKEN)

0 comments on commit b1dc546

Please sign in to comment.