Skip to content

Commit

Permalink
Merge pull request #244 from alex-semenyuk/fix_release_issue
Browse files Browse the repository at this point in the history
Add explicit github actions permissions
  • Loading branch information
EnriqueL8 authored Sep 13, 2024
2 parents 6ba9b40 + b89bc2a commit ffe42a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -37,4 +40,4 @@ jobs:
- name: Push head tag
run: |
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
docker push ghcr.io/hyperledger/firefly-ethconnect:head
docker push ghcr.io/hyperledger/firefly-ethconnect:head
3 changes: 3 additions & 0 deletions .github/workflows/docker_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit ffe42a1

Please sign in to comment.