From 5c1372df2f325aa4e7f09cff6079da21b2d41f23 Mon Sep 17 00:00:00 2001 From: micoferdinand98 Date: Thu, 27 Jul 2023 14:34:47 +0800 Subject: [PATCH] fix(security): vulnerabilities found in example-carbon-accounting Fixes #2062 Signed-off-by: micoferdinand98 --- .github/workflows/trivy-container-scan.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/trivy-container-scan.yaml b/.github/workflows/trivy-container-scan.yaml index 2bf59e0c95..01dbf81f73 100644 --- a/.github/workflows/trivy-container-scan.yaml +++ b/.github/workflows/trivy-container-scan.yaml @@ -29,8 +29,7 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - name: Build an image from Dockerfile - run: | - DOCKER_BUILDKIT=1 docker build ./ -f ./examples/carbon-accounting/Dockerfile -t cactus-example-carbon-accounting + run: DOCKER_BUILDKIT=1 docker build ./examples/carbon-accounting -f ./examples/carbon-accounting/Dockerfile -t cactus-example-carbon-accounting - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@0.11.2 with: