Skip to content

Commit dedaf50

Browse files
authored
Update docker-security.yml
1 parent 117b6f1 commit dedaf50

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/docker-security.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
- name: Build image
2323
run: docker build -t python-samples-fastapi-restful .
2424

25-
- name: Install Trivy
26-
uses: aquasecurity/trivy-action@v0.16.1
27-
with:
28-
version: latest
25+
- name: Install Trivy manually
26+
run: |
27+
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin
2928
3029
- name: Run Trivy scan (como en Windows)
31-
run: trivy image --no-progress --format table -o trivy-report.txt python-samples-fastapi-restful
30+
run: |
31+
./trivy image --no-progress --format table -o trivy-report.txt python-samples-fastapi-restful
3232
3333
- name: Upload Trivy report
3434
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)