diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 000000000..18d6cc2da --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,25 @@ +name: Snyk Container example + +on: + workflow_dispatch: +jobs: + build: + name: Test and build + environment: snyk-npm + runs-on: ubuntu-latest +steps: + - name: Setup Snyk + snyk-to-html + run: | + npm install snyk -g + npm install snyk-to-html -g + snyk auth ${{secrets.SNYK_AUTH}} + - name: Snyk Container + run: | + docker build . -t slim:latest + snyk container monitor slim:latest --file=Dockerfile | snyk-to-html -o results_container.html || true + - name: Archive Snyk Coverage Results + uses: actions/upload-artifact@v2 + with: + name: Archive Snyk Results + path: + results_container.html \ No newline at end of file diff --git a/docker-goof b/docker-goof new file mode 160000 index 000000000..cb5af5fe2 --- /dev/null +++ b/docker-goof @@ -0,0 +1 @@ +Subproject commit cb5af5fe25ba55770cb1084324342e6c05b921cf