Add .gitea/workflows/*.yaml
This commit is contained in:
@@ -112,14 +112,14 @@ jobs:
|
|||||||
aquasec/trivy:0.52.2 image \
|
aquasec/trivy:0.52.2 image \
|
||||||
--input /tmp/image.tar \
|
--input /tmp/image.tar \
|
||||||
--format json \
|
--format json \
|
||||||
--output /${{ github.workspace }}/trivy-results.json \
|
--output /tmp/trivy-results.json \
|
||||||
--severity CRITICAL,HIGH \
|
--severity CRITICAL,HIGH \
|
||||||
--ignore-unfixed
|
--ignore-unfixed
|
||||||
- name: Upload results
|
- name: Upload results
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: trivy-results
|
name: trivy-results
|
||||||
path: ${{ github.workspace }}/trivy-results.json
|
path: /tmp/trivy-results.json
|
||||||
|
|
||||||
publish-image:
|
publish-image:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|||||||
Reference in New Issue
Block a user