Bump aws-cdk version to v2.95.1 #217
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: Security | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v2 | |
- name: Build the Docker image | |
run: docker build . --file Dockerfile --tag dnxsolutions/node-cdk:latest | |
- name: Scan image | |
uses: anchore/scan-action@v3 | |
id: scan | |
with: | |
image: dnxsolutions/node-cdk:latest | |
fail-build: true | |
severity-cutoff: critical | |
acs-report-enable: true | |
- name: Inspect action SARIF report | |
run: cat ${{ steps.scan.outputs.sarif }} | |
- name: Upload Anchore Scan Report | |
uses: github/codeql-action/upload-sarif@v1 | |
with: | |
sarif_file: ${{ steps.scan.outputs.sarif }} |