Skip to content

Commit

Permalink
Add permissions to upload the security reports. Remove the builder sc…
Browse files Browse the repository at this point in the history
…an since it's the official golang docker container and it's not used in runtime.

Signed-off-by: Daniel Ortiz <[email protected]>
  • Loading branch information
taik0 committed Jul 11, 2024
1 parent 4372c13 commit 8d443ba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ jobs:
sarif_file: 'trivy-results.sarif'

image-scan:
permissions:
security-events: write
actions: read
contents: read
strategy:
matrix:
config:
- image: krakend/builder
dockerfile: Dockerfile-builder
- image: krakend/krakend-ce
dockerfile: Dockerfile
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8d443ba

Please sign in to comment.