Skip to content

Commit e4bc39c

Browse files
author
Newton Pasqualini Filho
committed
RDGRS-953: create artifact before docker build on trivy
1 parent 47bf6f5 commit e4bc39c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/trivy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ jobs:
3333
uses: goreleaser/goreleaser-action@v6
3434
with:
3535
version: '~> v2'
36-
args: --clean --snapshot --config .goreleaser.yaml --set version={{ github.event.after }}
36+
args: --clean --snapshot --config .goreleaser.yaml
3737
workdir: .
3838

3939
- name: Run Trivy vulnerability scanner
4040
uses: aquasecurity/trivy-action@7b7aa264d83dc58691451798b4d117d53d21edfe
4141
with:
42-
image-ref: 'ghcr.io/outsystems/outsystemscc:{{ github.event.after }}-next'
42+
image-ref: 'ghcr.io/outsystems/outsystemscc:0.0.1-next'
4343
format: 'template'
4444
template: '@/contrib/sarif.tpl'
4545
output: 'trivy-results.sarif'

0 commit comments

Comments
 (0)