diff --git a/examples/templates/Bitbucket/bitbucket-pipelines.yml b/examples/templates/Bitbucket/bitbucket-pipelines.yml index 4bbee579..26dd6fc3 100644 --- a/examples/templates/Bitbucket/bitbucket-pipelines.yml +++ b/examples/templates/Bitbucket/bitbucket-pipelines.yml @@ -1,15 +1,19 @@ +export: true + image: name: atlassian/default-image:2 -test: &test - step: - name: Debricked Scan - script: - - curl -L https://github.com/debricked/cli/releases/latest/download/cli_linux_x86_64.tar.gz | tar -xz debricked - - ./debricked scan - services: - - docker - +definitions: + pipelines: + Debricked: &Debricked + - step: + name: "Debricked Scan" + script: + - curl -L https://github.com/debricked/cli/releases/latest/download/cli_linux_x86_64.tar.gz | tar -xz debricked + - ./debricked scan + services: + - docker + pipelines: default: - - <<: *test \ No newline at end of file + - <<: *Debricked