Skip to content

Commit

Permalink
fix: explicit permission in github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jim380 committed Sep 17, 2023
1 parent 7553231 commit f48c001
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
name: Build Docker image and push to repositories
# run only when code is compiling and tests are passing
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

# steps to perform in job
steps:
Expand Down

0 comments on commit f48c001

Please sign in to comment.