diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2d6849b..967ee87 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -94,7 +94,7 @@ jobs: run: echo "image-name=$(mvn help:evaluate -Dexpression=image.name -q -DforceStdout)" >> $GITHUB_OUTPUT - name: Scan Docker Image for Vulnerabilities - uses: aquasecurity/trivy-action@0.24.0 + uses: aquasecurity/trivy-action@0.25.0 with: image-ref: ${{ steps.get-image-name.outputs.image-name }} format: sarif diff --git a/.github/workflows/scan-docker-image.yml b/.github/workflows/scan-docker-image.yml index 1189549..2474979 100644 --- a/.github/workflows/scan-docker-image.yml +++ b/.github/workflows/scan-docker-image.yml @@ -32,7 +32,7 @@ jobs: run: echo "image-name=$(mvn help:evaluate -Dexpression=image.name -q -DforceStdout)" >> $GITHUB_OUTPUT - name: Scan Docker Image for Vulnerabilities - uses: aquasecurity/trivy-action@0.24.0 + uses: aquasecurity/trivy-action@0.25.0 with: image-ref: ${{ steps.get-image-name.outputs.image-name }} format: sarif