Skip to content

Commit

Permalink
ci: add the permission packages: write to push images to ghcr.io
Browse files Browse the repository at this point in the history
To resolve the error.

https://github.com/boz/kail/actions/runs/6711012036/job/18237432638

```
  ⨯ release failed after 12m59s              error=docker images: failed to publish artifacts: failed to push ghcr.io/boz/kail:v0.17.0-amd64 after 0 tries: failed to push ghcr.io/boz/kail:v0.17.0-amd64: exit status 1: denied: installation not allowed to Create organization package
```
  • Loading branch information
suzuki-shunsuke committed Nov 2, 2023
1 parent 6260c86 commit 0911fb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

permissions:
contents: write
packages: write # To push Docker images to ghcr.io

jobs:
goreleaser:
Expand Down

0 comments on commit 0911fb9

Please sign in to comment.