Skip to content

Commit

Permalink
build: harden build_docker.yml permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Alex <[email protected]>
  • Loading branch information
sashashura committed Dec 8, 2022
1 parent 804b1ee commit b56ef7c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@ on:
types:
- published

permissions: {}

jobs:
build:
permissions:
contents: read # to fetch code (actions/checkout)
packages: write # to push docker image

name: Build image
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit b56ef7c

Please sign in to comment.