Skip to content

Commit

Permalink
Update docker-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
syn-4ck authored Jan 20, 2024
1 parent 7a1067f commit e1b1ea6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Build Docker Image

on: [push, pull_request]

permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status

jobs:
build:
name: Build
Expand Down Expand Up @@ -35,4 +40,4 @@ jobs:
uses: github/codeql-action/upload-sarif@v2
if: always()
with:
sarif_file: 'trivy-container-results.sarif'
sarif_file: 'trivy-container-results.sarif'

0 comments on commit e1b1ea6

Please sign in to comment.