We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 117b6f1 commit dedaf50Copy full SHA for dedaf50
1 file changed
.github/workflows/docker-security.yml
@@ -22,13 +22,13 @@ jobs:
22
- name: Build image
23
run: docker build -t python-samples-fastapi-restful .
24
25
- - name: Install Trivy
26
- uses: aquasecurity/trivy-action@v0.16.1
27
- with:
28
- version: latest
+ - name: Install Trivy manually
+ run: |
+ curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin
29
30
- name: Run Trivy scan (como en Windows)
31
- run: trivy image --no-progress --format table -o trivy-report.txt python-samples-fastapi-restful
+ ./trivy image --no-progress --format table -o trivy-report.txt python-samples-fastapi-restful
32
33
- name: Upload Trivy report
34
uses: actions/upload-artifact@v4
0 commit comments