Skip to content

Commit 617fcfd

Browse files
committed
💚 fix Docker workflow publish permissions
1 parent 3d37c3a commit 617fcfd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
defaults:
66
run:
77
shell: bash
8+
permissions: read-all
89

910
jobs:
1011
push_to_registry:

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,8 @@ jobs:
9292
rm -rf $CHANGELOG_PATH
9393
docker:
9494
needs: build-and-publish
95+
permissions:
96+
packages: write
97+
contents: read
9598
uses: ./.github/workflows/docker.yml
9699
secrets: inherit

0 commit comments

Comments
 (0)