diff --git a/.github/workflows/anchore-analysis.yml b/.github/workflows/anchore-analysis.yml index f0b54bef3e1..01cd0e271c8 100644 --- a/.github/workflows/anchore-analysis.yml +++ b/.github/workflows/anchore-analysis.yml @@ -10,7 +10,9 @@ name: Docker Container Scan (clickhouse-server) on: pull_request: - paths: docker/server/Dockerfile + paths: + - docker/server/Dockerfile + - .github/workflows/anchore-analysis.yml schedule: - cron: '0 21 * * *' @@ -31,6 +33,12 @@ jobs: image-reference: "localbuild/testimage:latest" dockerfile-path: "docker/server/Dockerfile" acs-report-enable: true + fail-build: true + - name: Upload artifact + uses: actions/upload-artifact@v1.0.0 + with: + name: AnchoreReports + path: ./anchore-reports/ - name: Upload Anchore Scan Report uses: github/codeql-action/upload-sarif@v1 with: