Test trivy with tar output.
This commit is contained in:
@@ -51,6 +51,18 @@ jobs:
|
||||
with:
|
||||
outputs: type=docker,dest=/tmp/startup.tar
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: myimage
|
||||
path: /tmp/myimage.tar
|
||||
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: myimage
|
||||
path: /tmp
|
||||
|
||||
- name: Check with trivy
|
||||
uses: aquasecurity/trivy-action@master
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user