4040 docker pull antrea/antrea-controller-ubuntu:latest
4141 docker pull antrea/antrea-controller-ubuntu:${{ steps.find-antrea-greatest-version.outputs.antrea_version }}
4242 - name : Install Trivy
43- uses : aquasecurity/setup-trivy@v0.2.3
43+ uses : aquasecurity/setup-trivy@v0.2.6
4444 - name : Get current UTC date
4545 id : date
4646 run : echo "date=$(date -u +'%Y-%m-%d')" >> $GITHUB_OUTPUT
6868 key : ${{ steps.restore-db-cache.outputs.cache-primary-key }}
6969 - name : Run Trivy vulnerability scanner on latest antrea-agent Docker image
7070 if : ${{ always() && steps.pull.conclusion == 'success' }}
71- uses : aquasecurity/trivy-action@0.31 .0
71+ uses : aquasecurity/trivy-action@v0.35 .0
7272 # we cannot use .trivy.yml as we need to override some config parameters
7373 # and that is not supported by aquasecurity/trivy-action
7474 with :
8787 TRIVY_SKIP_JAVA_DB_UPDATE : true
8888 - name : Run Trivy vulnerability scanner on latest antrea-controller Docker image
8989 if : ${{ always() && steps.pull.conclusion == 'success' }}
90- uses : aquasecurity/trivy-action@0.31 .0
90+ uses : aquasecurity/trivy-action@v0.35 .0
9191 # we cannot use .trivy.yml as we need to override some config parameters
9292 # and that is not supported by aquasecurity/trivy-action
9393 with :
@@ -105,7 +105,7 @@ jobs:
105105 TRIVY_SKIP_JAVA_DB_UPDATE : true
106106 - name : Run Trivy vulnerability scanner on antrea-agent Docker image for latest released version
107107 if : ${{ always() && steps.pull.conclusion == 'success' }}
108- uses : aquasecurity/trivy-action@0.31 .0
108+ uses : aquasecurity/trivy-action@v0.35 .0
109109 with :
110110 scan-type : ' image'
111111 image-ref : ' antrea/antrea-agent-ubuntu:${{ steps.find-antrea-greatest-version.outputs.antrea_version }}'
@@ -121,7 +121,7 @@ jobs:
121121 TRIVY_SKIP_JAVA_DB_UPDATE : true
122122 - name : Run Trivy vulnerability scanner on antrea-controller Docker image for latest released version
123123 if : ${{ always() && steps.pull.conclusion == 'success' }}
124- uses : aquasecurity/trivy-action@0.31 .0
124+ uses : aquasecurity/trivy-action@v0.35 .0
125125 with :
126126 scan-type : ' image'
127127 image-ref : ' antrea/antrea-controller-ubuntu:${{ steps.find-antrea-greatest-version.outputs.antrea_version }}'
0 commit comments