We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a750964 commit f9ea321Copy full SHA for f9ea321
.github/workflows/trivy-pipeline.yml
@@ -16,15 +16,16 @@ concurrency:
16
17
jobs:
18
trivy-checker:
19
- runs-on: [self-hosted, normal]
+ runs-on: [self-hosted, trivy]
20
name: RUN
21
steps:
22
- - name: Init
23
- run: |
24
- mkdir ${{ github.workspace }}/trivy_temp
+ - name: Checkout code
+ uses: actions/checkout@v3
25
26
- name: Run Trivy vulnerability scanner
27
uses: aquasecurity/trivy-action@d710430a6722f083d3b36b8339ff66b32f22ee55 #0.19.0
+ env:
28
+ TMPDIR: ${{ github.workspace }}/trivy_temp # Required to prevent Trivy running out of space
29
with:
30
image-ref: "registry.cn-zhangjiakou.aliyuncs.com/starrocks/dev-env-centos7:3.1-latest"
31
scan-type: "image"
0 commit comments