Skip to content

Commit

Permalink
ci(trivy): let trivy regularly check latest containers
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoprow committed Jul 18, 2024
1 parent c16826f commit 354a14c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: actions/checkout@v4

- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@master
uses: aquasecurity/trivy-action@0.22.0
with:
scan-type: "config"
# ignore-unfixed: true
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
uses: aquasecurity/trivy-action@master
with:
# Path to Docker image
image-ref: "docker.io/tractusx/bpdm-pool:latest-alpha"
image-ref: "docker.io/tractusx/bpdm-pool:latest"
format: "sarif"
output: "trivy-results2.sarif"
exit-code: "0"
Expand Down Expand Up @@ -108,10 +108,10 @@ jobs:

- name: Run Trivy vulnerability scanner
if: always()
uses: aquasecurity/trivy-action@master
uses: aquasecurity/trivy-action@0.22.0
with:
# Path to Docker image
image-ref: "docker.io/tractusx/bpdm-gate:latest-alpha"
image-ref: "docker.io/tractusx/bpdm-gate:latest"
format: "sarif"
output: "trivy-results3.sarif"
exit-code: "0"
Expand Down Expand Up @@ -141,10 +141,10 @@ jobs:

- name: Run Trivy vulnerability scanner
if: always()
uses: aquasecurity/trivy-action@master
uses: aquasecurity/trivy-action@0.22.0
with:
# Path to Docker image
image-ref: "docker.io/tractusx/bpdm-cleaning-service-dummy:latest-alpha"
image-ref: "docker.io/tractusx/bpdm-cleaning-service-dummy:latest"
format: "sarif"
output: "trivy-results4.sarif"
exit-code: "0"
Expand Down Expand Up @@ -174,10 +174,10 @@ jobs:

- name: Run Trivy vulnerability scanner
if: always()
uses: aquasecurity/trivy-action@master
uses: aquasecurity/trivy-action@0.22.0
with:
# Path to Docker image
image-ref: "docker.io/tractusx/bpdm-orchestrator:latest-alpha"
image-ref: "docker.io/tractusx/bpdm-orchestrator:latest"
format: "sarif"
output: "trivy-results4.sarif"
exit-code: "0"
Expand Down

0 comments on commit 354a14c

Please sign in to comment.