Skip to content

Commit d098059

Browse files
committed
potential fix for building containers
1 parent 3efea3f commit d098059

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
- name: Run container security scan with Trivy
137137
uses: aquasecurity/trivy-action@master
138138
with:
139-
image-ref: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
139+
image-ref: ${{ fromJSON(steps.meta.outputs.tags)[0] }}
140140
format: 'sarif'
141141
output: 'trivy-results.sarif'
142142

0 commit comments

Comments
 (0)