Skip to content

Commit 560a840

Browse files
Add explicit github actions permissions
Signed-off-by: alexey semenyuk <alexsemenyuk88@gmail.com>
1 parent d3d27b2 commit 560a840

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/docker_main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
jobs:
99
docker:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
packages: write
1114
steps:
1215
- uses: actions/checkout@v4
1316

@@ -37,4 +40,4 @@ jobs:
3740
- name: Push head tag
3841
run: |
3942
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
40-
docker push ghcr.io/hyperledger/firefly-ethconnect:head
43+
docker push ghcr.io/hyperledger/firefly-ethconnect:head

0 commit comments

Comments
 (0)