Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
sergicastro committed Apr 2, 2024
1 parent ba35bb7 commit fd289dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/actions/scan/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ inputs:
description: "The output file when using 'sarif' format."
default: "trivy-results.sarif"
runs:
using: composite
steps:
- uses: docker/setup-qemu-action@v3
with:
platforms: amd64
- uses: docker/setup-buildx-action@v3
- uses: actions/checkout@v4
- run: make docker-build
shell: bash
- uses: aquasecurity/trivy-action@master
with:
image-ref: local/kubegres:scan-amd64
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/daily.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Scan
name: Daily

on:
schedule:
Expand All @@ -11,7 +11,7 @@ jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/scan
with:
format: 'sarif'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/scan
with:
format: 'table'

0 comments on commit fd289dd

Please sign in to comment.