We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecf19d7 commit cbb0185Copy full SHA for cbb0185
1 file changed
.github/workflows/docker-build-push.yml
@@ -29,7 +29,7 @@ jobs:
29
steps:
30
- name: Checkout code
31
uses: actions/checkout@v6.0.2
32
-
+
33
- name: Set up Docker Buildx
34
uses: docker/setup-buildx-action@v4
35
@@ -48,3 +48,13 @@ jobs:
48
push: true
49
platforms: linux/amd64,linux/arm64
50
tags: ghcr.io/${{ github.repository_owner }}/${{ matrix.app.name }}:${{ inputs.image-tag }}
51
52
+ - name: Scan pushed image with Trivy
53
+ uses: aquasecurity/trivy-action@0.33.1
54
+ with:
55
+ scan-type: image
56
+ image-ref: ghcr.io/${{ github.repository_owner }}/${{ matrix.app.name }}:${{ inputs.image-tag }}
57
+ scanners: vuln,secret
58
+ severity: HIGH,CRITICAL
59
+ ignore-unfixed: true
60
+ exit-code: "1"
0 commit comments