boz / kail

kubernetes log viewer
MIT License
1.99k stars 93 forks source link

ci: add the permission `packages: write` to push images to ghcr.io #144

Closed suzuki-shunsuke closed 1 year ago

suzuki-shunsuke commented 1 year ago

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
suzuki-shunsuke commented 1 year ago

No asset was released at v0.17.0 due to this issue.

https://github.com/boz/kail/releases/tag/v0.17.0

image
suzuki-shunsuke commented 1 year ago

@mnaser @boz Could you take a look at this pr and https://github.com/boz/kail/pull/143 ?