update trivy action
This commit is contained in:
@@ -88,14 +88,13 @@ jobs:
|
||||
${{ secrets.DOCKER_REGISTRY_USER}}/hypermirror:v${{ steps.meta.outputs.IMAGE_VERSION }}
|
||||
|
||||
- name: Run Trivy vulnerability scanner
|
||||
uses: aquasecurity/trivy-action@master
|
||||
uses: astounds/trivy-action@v1
|
||||
with:
|
||||
image-ref: ${{ secrets.DOCKER_REGISTRY_USER}}/hypermirror:latest
|
||||
image: ${{ secrets.DOCKER_REGISTRY_USER}}/hypermirror:latest
|
||||
severity: 'CRITICAL,HIGH'
|
||||
pkg-types: 'os'
|
||||
format: 'table'
|
||||
exit-code: '1'
|
||||
ignore-unfixed: true
|
||||
vuln-type: 'os'
|
||||
severity: 'CRITICAL,HIGH'
|
||||
|
||||
- name: Push Docker image
|
||||
uses: docker/build-push-action@v6
|
||||
|
||||
Reference in New Issue
Block a user