Skip to content

Commit

Permalink
Add explicit github actions permissions
Browse files Browse the repository at this point in the history
Signed-off-by: alexey semenyuk <[email protected]>
  • Loading branch information
alex-semenyuk authored Sep 10, 2024
1 parent d3d27b2 commit 560a840
Showing 1 changed file with 4 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

0 comments on commit 560a840

Please sign in to comment.