From c9cad04733c7660f28ad61360088da1cdf8b1f2a Mon Sep 17 00:00:00 2001 From: csantanasnyk Date: Mon, 20 Mar 2023 12:19:25 -0400 Subject: [PATCH] this is a new branch --- .github/workflows/test.yaml | 25 +++++++++++++++++++++++++ docker-goof | 1 + 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/test.yaml create mode 160000 docker-goof 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