Skip to content

Commit

Permalink
Regroup permissions under job. (#15)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Viénot <simon.vienot@icloud.com>
  • Loading branch information
svienot authored Jul 27, 2023
1 parent 9060a0e commit 22c3d8c
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 22c3d8c

Please sign in to comment.