Skip to content

Commit

Permalink
Regroup permissions under job.
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Viénot <[email protected]>
  • Loading branch information
svienot committed Jul 27, 2023
1 parent 9060a0e commit 7a860b3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release-image-to-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: Release Docker Image to GitHub
on:
workflow_dispatch:

permissions:
packages: write

env:
OWNER: hashgraph
REGISTRY: ghcr.io
Expand All @@ -14,8 +11,9 @@ jobs:
docker-image-publish:
runs-on: ubuntu-latest
permissions:
contents: 'read'
id-token: 'write'
contents: read
id-token: write
packages: write

steps:
- name: Checkout repository
Expand Down

0 comments on commit 7a860b3

Please sign in to comment.