update docker base image and start docker before download (#9) #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: boostsecurity.io | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- synchronize | |
jobs: | |
boost-sast: | |
name: SAST | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run Native Scanner | |
uses: boostsecurityio/boostsec-scanner-github@v4 | |
with: | |
api_token: ${{ secrets.BOOST_API_TOKEN }} | |
registry_module: boostsecurityio/native-scanner | |
boost-sbom: | |
name: SBOM | |
if: github.event_name != 'pull_request' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Upload SBOM from Trivy | |
uses: boostsecurityio/boostsec-scanner-github@v4 | |
with: | |
api_token: ${{ secrets.BOOST_API_TOKEN }} | |
registry_module: boostsecurityio/trivy-sbom | |