I’m using a bot account to push images to ghcr.
When I use the pat created for the bot, I can log into ghcr and then successfully push image manually in cli.
But if I try to use the same user and pat in a github workflow, it fails with
denied: permission_denied: write_package
In org settings, users are allowed to push packages as
internal (@clarkbw had turned on the internal flag for our org). And the pat has the read and write package perms enabled.
With the same user/pat, cli push works just fine and the new package is marked
internal as expected. But a push from workflow with the same credentials fails: https://github.com/linuxserver/docker-mods/runs/1338930900?check_suite_focus=true