diff --git a/.github/workflows/build_only.yml b/.github/workflows/build_only.yml index 90db050..805b138 100644 --- a/.github/workflows/build_only.yml +++ b/.github/workflows/build_only.yml @@ -16,4 +16,13 @@ jobs: with: tag: latest,1.0 platform: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6 - imageName: ilteoood/docker-surfshark \ No newline at end of file + imageName: ilteoood/docker-surfshark + - name: Scan image + uses: anchore/scan-action@master + with: + image-reference: "ilteoood/docker-surfshark:latest" + dockerfile-path: "./Dockerfile" + fail-build: true + include-app-packages: true + - name: Anchore inline scan JSON results + run: for j in `ls ./anchore-reports/*.json`; do echo "---- ${j} ----"; cat ${j}; echo; done \ No newline at end of file