We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a6309c commit 5391da8Copy full SHA for 5391da8
.github/workflows/container-image.yaml
@@ -47,15 +47,17 @@ jobs:
47
uses: docker/build-push-action@v6
48
with:
49
context: .
50
+ load: ${{ github.event_name == 'pull_request' }}
51
push: ${{ github.event_name != 'pull_request' }}
52
tags: ${{ steps.meta.outputs.tags }}
53
labels: ${{ steps.meta.outputs.labels }}
54
55
- name: Scan image
56
if: github.event_name == 'pull_request'
- uses: anchore/scan-action@v5
57
+ uses: aquasecurity/trivy-action@0.29.0
58
id: scan
59
- image: ${{ steps.meta.outputs.tags }}
60
- add-cpes-if-none: true
61
- output-format: table
+ scan-ref: ${{ steps.meta.outputs.tags }}
+ exit-code: '1'
62
+ ignore-unfixed: true
63
+ severity: 'HIGH,CRITICAL'
0 commit comments