Skip to content

Update debricked.yml #12

Update debricked.yml

Update debricked.yml #12

Workflow file for this run

name: Debricked scan
on: [push]
jobs:
vulnerabilities-scan-production:
runs-on: ubuntu-latest
container:
image: debricked/cli:latest-resolution-debian
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Fingerprint files
run: |
npm install
rm package.json
rm package-lock.json
cd node_modules
debricked fingerprint
cd ..
mv node_modules/debricked.fingerprints.txt .
cat debricked.fingerprints.txt
- name: Run Scan
run: |
debricked scan
env:
DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN }}
vulnerabilities-scan-staging:
runs-on: ubuntu-latest
container:
image: debricked/cli:latest-resolution-debian
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Fingerprint files
run: |
npm install
rm package.json
rm package-lock.json
cd node_modules
debricked fingerprint
cd ..
mv node_modules/debricked.fingerprints.txt .
cat debricked.fingerprints.txt
- name: Run Scan
run: |
debricked scan
env:
DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN_STAGING }}
DEBRICKED_URI: 'https://staging.debricked.com'