npm: bump remark-validate-links from 10.0.4 to 13.0.2 #130
This file contains hidden or 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: Docker build and container scan | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Docker build | |
| run: | | |
| docker build . --file Dockerfile --tag containerscanner:${{ github.sha }} | |
| - name: Anchore scan | |
| uses: anchore/[email protected] | |
| with: | |
| image-reference: containerscanner:${{ github.sha }} | |
| dockerfile-path: Dockerfile | |
| include-app-packages: true | |
| fail-build: true # no idea why it doesn't work | |
| - name: Show Anchore results | |
| run: for j in `ls ./anchore-reports/*.json`; do echo "---- ${j} ----"; cat ${j}; echo; done | |
| if: ${{ always() }} | |
| - name: Upload Anchore results | |
| uses: actions/upload-artifact@v2 | |
| with: | |
| name: anchore-reports | |
| path: ./anchore-reports/ | |
| if: ${{ always() }} | |
| - name: Fail on any vulnerability | |
| run: jq -e '.vulnerabilities | any( . ) | not' anchore-reports/vulnerabilities.json |