Skip to content

Commit ffe42a1

Browse files
authored
Merge pull request #244 from alex-semenyuk/fix_release_issue
Add explicit github actions permissions
2 parents 6ba9b40 + b89bc2a commit ffe42a1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Diff for: .github/workflows/docker_main.yml

+4-1
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

Diff for: .github/workflows/docker_release.yml

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
docker:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
packages: write
1013
steps:
1114
- uses: actions/checkout@v4
1215
with:

0 commit comments

Comments
 (0)