Skip to content

Commit

Permalink
ci: fix trivy job (#1893)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenruizdegauna authored Jul 12, 2024
1 parent b506ae4 commit ae8f4c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/component_trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: newrelic/infrastructure
uses: aquasecurity/trivy-action@master
with:
image-ref: "docker.io/newrelic/infrastructure:${{ github.event.inputs.tag }}"
image-ref: "docker.io/newrelic/infrastructure:${{ inputs.tag }}"
format: 'table'
exit-code: '1'
ignore-unfixed: true
Expand All @@ -32,7 +32,7 @@ jobs:
- name: newrelic/k8s-events-forwarder
uses: aquasecurity/trivy-action@master
with:
image-ref: "docker.io/newrelic/k8s-events-forwarder:${{ github.event.inputs.tag }}"
image-ref: "docker.io/newrelic/k8s-events-forwarder:${{ inputs.tag }}"
format: 'table'
exit-code: '1'
ignore-unfixed: true
Expand All @@ -42,7 +42,7 @@ jobs:
- name: newrelic/nri-forwarder
uses: aquasecurity/trivy-action@master
with:
image-ref: "docker.io/newrelic/nri-forwarder:${{ github.event.inputs.tag }}"
image-ref: "docker.io/newrelic/nri-forwarder:${{ inputs.tag }}"
format: 'table'
exit-code: '1'
ignore-unfixed: true
Expand All @@ -60,7 +60,7 @@ jobs:
- name: Sarif newrelic/infrastructure
uses: aquasecurity/[email protected]
with:
image-ref: "docker.io/newrelic/infrastructure:${{ github.event.inputs.tag }}"
image-ref: "docker.io/newrelic/infrastructure:${{ inputs.tag }}"
format: 'sarif'
output: 'trivy-results.sarif'
vuln-type: 'os,library'
Expand Down

0 comments on commit ae8f4c6

Please sign in to comment.