Test trivy with tar output.
This commit is contained in:
@@ -51,6 +51,18 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
outputs: type=docker,dest=/tmp/startup.tar
|
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
|
- name: Check with trivy
|
||||||
uses: aquasecurity/trivy-action@master
|
uses: aquasecurity/trivy-action@master
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user