aboutsummaryrefslogtreecommitdiffstats
path: root/.gitea/workflows/release.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.gitea/workflows/release.yaml')
-rw-r--r--.gitea/workflows/release.yaml9
1 files changed, 4 insertions, 5 deletions
diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml
index ac67bf4..ec7f4dd 100644
--- a/.gitea/workflows/release.yaml
+++ b/.gitea/workflows/release.yaml
@@ -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