Skip to content

Commit f43ef18

Browse files
authored
chore: remove Trivy and switch to Ubuntu 22 (#345)
1 parent d6e3eb7 commit f43ef18

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212

1313
jobs:
1414
main:
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-22.04
1616
timeout-minutes: 30
1717
steps:
1818
- name: Check out the repo
@@ -45,18 +45,3 @@ jobs:
4545
push: ${{ github.event_name != 'pull_request' }}
4646
tags: ${{ steps.docker_meta.outputs.tags }}
4747
labels: ${{ steps.docker_meta.outputs.labels }}
48-
- name: Run Trivy vulnerability scanner
49-
uses: aquasecurity/trivy-action@master
50-
with:
51-
image-ref: ${{ env.imageName }}:${{ steps.docker_meta.outputs.version }}
52-
format: 'sarif'
53-
output: 'trivy-results.sarif'
54-
ignore-unfixed: true
55-
vuln-type: 'os,library'
56-
security-checks: 'vuln'
57-
severity: 'CRITICAL,HIGH'
58-
timeout: '10m0s'
59-
- name: Upload Trivy scan results to GitHub Security tab
60-
uses: github/codeql-action/upload-sarif@v2
61-
with:
62-
sarif_file: "trivy-results.sarif"

0 commit comments

Comments
 (0)