mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
chore: fix trivy action version (#11043)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
92afacd29a
commit
8e14e1e7c7
1 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ jobs:
|
||||||
echo "releasebranch2=$releasebranch2" >> $GITHUB_OUTPUT
|
echo "releasebranch2=$releasebranch2" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Scan for vulnerabilities in latest image
|
- name: Scan for vulnerabilities in latest image
|
||||||
uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 # v0.8.0 (Trivy v0.34.0)
|
uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 # v0.24.0
|
||||||
|
|
||||||
with:
|
with:
|
||||||
image-ref: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
image-ref: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||||
|
@ -40,7 +40,7 @@ jobs:
|
||||||
output: scan1.json
|
output: scan1.json
|
||||||
|
|
||||||
- name: Scan for vulnerabilities in latest-1 image
|
- name: Scan for vulnerabilities in latest-1 image
|
||||||
uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 # v0.8.0 (Trivy v0.34.0)
|
uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 # v0.24.0
|
||||||
with:
|
with:
|
||||||
image-ref: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.get-branches.outputs.releasebranch1 }}
|
image-ref: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.get-branches.outputs.releasebranch1 }}
|
||||||
format: json
|
format: json
|
||||||
|
@ -49,7 +49,7 @@ jobs:
|
||||||
output: scan2.json
|
output: scan2.json
|
||||||
|
|
||||||
- name: Scan for vulnerabilities in latest-2 image
|
- name: Scan for vulnerabilities in latest-2 image
|
||||||
uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 # v0.8.0 (Trivy v0.34.0)
|
uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 # v0.24.0
|
||||||
with:
|
with:
|
||||||
image-ref: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.get-branches.outputs.releasebranch2 }}
|
image-ref: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.get-branches.outputs.releasebranch2 }}
|
||||||
format: json
|
format: json
|
||||||
|
|
Loading…
Reference in a new issue