diff options
author | Astound <kirito@disroot.org> | 2025-01-20 07:17:10 +0800 |
---|---|---|
committer | Astound <kirito@disroot.org> | 2025-01-20 07:17:10 +0800 |
commit | da120ee0be00ee33b05281c8c74d604574ded191 (patch) | |
tree | c4321823f34b256e7fb569c1ca54f39ad46f4fcf /.gitea/workflows/release.yaml | |
parent | 1673c569e64f1b7de8899841a8e84e26e4dc5939 (diff) | |
download | hyperbola-mirror-da120ee0be00ee33b05281c8c74d604574ded191.tar.lz hyperbola-mirror-da120ee0be00ee33b05281c8c74d604574ded191.tar.xz hyperbola-mirror-da120ee0be00ee33b05281c8c74d604574ded191.zip |
Diffstat (limited to '.gitea/workflows/release.yaml')
-rw-r--r-- | .gitea/workflows/release.yaml | 9 |
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 |