Skip to content

Commit

Permalink
Scan the Solr image with Anchore scan, triggered manually for the tim…
Browse files Browse the repository at this point in the history
…e being. #115
  • Loading branch information
poikilotherm committed Oct 31, 2020
1 parent 413cd89 commit c9df853
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/scan-solr-k8s.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Anchore Scan gdcc/solr-k8s
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Container image
run: docker build docker/solr-k8s --tag localbuild/testimage:latest
- uses: anchore/scan-action@v2
id: scan
with:
image: "localbuild/testimage:latest"
acs-report-enable: true
- name: upload Anchore scan SARIF report
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: ${{ steps.scan.outputs.sarif }}

0 comments on commit c9df853

Please sign in to comment.