This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
Disable BAD_WORDS on anniversary #80
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: Anchore Container Scan | |
on: push | |
jobs: | |
Anchore-Build-Scan: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v3 | |
with: | |
lfs: false | |
- name: Build the Docker image | |
run: docker build . --file build/ci-build.Dockerfile --tag localbuild/testimage:latest | |
- name: Run the Anchore scan action itself with GitHub Advanced Security code scanning integration enabled | |
uses: anchore/scan-action@v3 | |
with: | |
image: "localbuild/testimage:latest" | |
acs-report-enable: true | |
severity-cutoff: "high" | |
fail-build: false | |
- name: Upload Anchore Scan Report | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: results.sarif |