Skip to content

Commit 447a310

Browse files
committed
Explicitly give GHCR perms to deploy step only
The previous deploy failed as we've tightened up default GH permissions to ensure most jobs can't write or publish anything by default.
1 parent 4090c70 commit 447a310

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
environment: production
2222
needs: build
2323
runs-on: ubuntu-latest
24+
permissions:
25+
contents: read
26+
packages: write # Required to publish containers to GHCR
2427
steps:
2528
- uses: actions/checkout@v4
2629
- uses: docker/setup-buildx-action@v2

0 commit comments

Comments
 (0)