mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-11-22 19:42:03 +01:00
Give Anchore a new chance
This commit is contained in:
parent
19a5a197e1
commit
e6a00874d2
24
.github/workflows/anchore-analysis.yml
vendored
24
.github/workflows/anchore-analysis.yml
vendored
@ -14,17 +14,17 @@ jobs:
|
|||||||
Anchore-Build-Scan:
|
Anchore-Build-Scan:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the code
|
- name: Set up Docker Buildx
|
||||||
uses: actions/checkout@v2
|
uses: docker/setup-buildx-action@v1
|
||||||
- name: Build the Docker image
|
|
||||||
run: docker build . --file Dockerfile --tag localbuild/testimage:latest
|
- name: build local container
|
||||||
- name: Run the local Anchore scan action itself with GitHub Advanced Security code scanning integration enabled
|
uses: docker/build-push-action@v2
|
||||||
uses: anchore/scan-action@main
|
with:
|
||||||
|
tags: localbuild/testimage:latest
|
||||||
|
push: false
|
||||||
|
load: true
|
||||||
|
|
||||||
|
- name: Scan image
|
||||||
|
uses: anchore/scan-action@v3
|
||||||
with:
|
with:
|
||||||
image: "localbuild/testimage:latest"
|
image: "localbuild/testimage:latest"
|
||||||
dockerfile-path: "Dockerfile"
|
|
||||||
acs-report-enable: true
|
|
||||||
- name: Upload Anchore Scan Report
|
|
||||||
uses: github/codeql-action/upload-sarif@v1
|
|
||||||
with:
|
|
||||||
sarif_file: results.sarif
|
|
||||||
|
Loading…
Reference in New Issue
Block a user