Skip to content

Commit

Permalink
fix(CI): Fixed permission problem in uploading Trivy security scan
Browse files Browse the repository at this point in the history
  • Loading branch information
SaptarshiSarkar12 committed Feb 20, 2024
1 parent 44e9245 commit f7a66bf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ env:
jobs:
build:
runs-on: "ubuntu-latest"
permissions:
security-events: write
strategy:
matrix:
filename: [ CLI/Dockerfile, GUI/Dockerfile ]
Expand Down Expand Up @@ -55,9 +53,7 @@ jobs:
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside PRs.
id-token: write
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit f7a66bf

Please sign in to comment.