Skip to content

Commit 6bdbe15

Browse files
committed
Scan the Solr image with Anchore scan, triggered manually for the time being. #115
1 parent 413cd89 commit 6bdbe15

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/scan-solr-k8s.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Anchore Scan gdcc/solr-k8s
2+
on:
3+
- workflow_dispatch
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- name: Build the Container image
10+
run: docker build docker/solr-k8s --tag localbuild/testimage:latest
11+
- uses: anchore/scan-action@v2
12+
id: scan
13+
with:
14+
image: "localbuild/testimage:latest"
15+
acs-report-enable: true
16+
- name: upload Anchore scan SARIF report
17+
uses: github/codeql-action/upload-sarif@v1
18+
with:
19+
sarif_file: ${{ steps.scan.outputs.sarif }}

0 commit comments

Comments
 (0)