From e4bc39c34ccbfa897b2cb0bbb6ed58786fb72a63 Mon Sep 17 00:00:00 2001 From: Newton Pasqualini Filho Date: Wed, 4 Dec 2024 15:07:43 +0000 Subject: [PATCH] RDGRS-953: create artifact before docker build on trivy --- .github/workflows/trivy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 34c26c1..002daf1 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -33,13 +33,13 @@ jobs: uses: goreleaser/goreleaser-action@v6 with: version: '~> v2' - args: --clean --snapshot --config .goreleaser.yaml --set version={{ github.event.after }} + args: --clean --snapshot --config .goreleaser.yaml workdir: . - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@7b7aa264d83dc58691451798b4d117d53d21edfe with: - image-ref: 'ghcr.io/outsystems/outsystemscc:{{ github.event.after }}-next' + image-ref: 'ghcr.io/outsystems/outsystemscc:0.0.1-next' format: 'template' template: '@/contrib/sarif.tpl' output: 'trivy-results.sarif'