Skip to content

Commit

Permalink
fix(action): workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen committed Dec 15, 2021
1 parent ea00291 commit 18e7fc6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

permissions:
contents: write
packages: write

jobs:
goreleaser:
Expand All @@ -30,8 +31,8 @@ jobs:
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ekristen
password: ${{ secrets.RELEASES_GITHUB_TOKEN }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Install Cosign
uses: sigstore/cosign-installer@main
with:
Expand Down

0 comments on commit 18e7fc6

Please sign in to comment.