Skip to content

Commit

Permalink
RDGRS-953: create artifact before docker build on trivy
Browse files Browse the repository at this point in the history
  • Loading branch information
NewtonMan committed Dec 4, 2024
1 parent 47bf6f5 commit e4bc39c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit e4bc39c

Please sign in to comment.