Skip to content

Commit

Permalink
fix(ci): permissions for releases pkgs (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
albttx authored Feb 21, 2024
1 parent 9d80c80 commit b4c5ac8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ name: Create and publish a Docker image

on:
push:
branches: ['release']
branches: ["release"]

permissions:
contents: read
packages: write

env:
REGISTRY: ghcr.io
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- "v[0-9]+\\.[0-9]+\\.[0-9]+"
- "v[0-9]+\\.[0-9]+\\.[0-9]+-rc[0-9]+"

permissions:
contents: read
packages: write

jobs:
release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b4c5ac8

Please sign in to comment.