From 919f6e99391383385398a2e31f70e9c0fea0d1ba Mon Sep 17 00:00:00 2001 From: Tanner Stirrat Date: Wed, 18 Sep 2024 08:58:27 -0600 Subject: [PATCH] Fix build folder --- .github/workflows/security.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml index d081eb7ebc..6a0210d4d8 100644 --- a/.github/workflows/security.yaml +++ b/.github/workflows/security.yaml @@ -76,6 +76,6 @@ jobs: env: GORELEASER_KEY: "${{ secrets.GORELEASER_KEY }}" - name: "Obtain container image to scan" - run: 'echo "IMAGE_VERSION=$(jq .version dist/linux_amd64/metadata.json --raw-output)" >> $GITHUB_ENV' + run: 'echo "IMAGE_VERSION=$(jq .version dist/linux_amd64_v1/metadata.json --raw-output)" >> $GITHUB_ENV' - name: "run trivy on release image" run: "docker run -v /var/run/docker.sock:/var/run/docker.sock aquasec/trivy image --format table --exit-code 1 --ignore-unfixed --vuln-type os,library --no-progress --severity CRITICAL,HIGH,MEDIUM authzed/spicedb:v${{ env.IMAGE_VERSION }}-amd64"