hotosm/tasking-manager

Packages are not allowed to be pushed to github container registry from a forked repo

ramyaragupathy opened this issue · 3 comments

Originally posted by @mahesh-naxa in #6375 (comment)

@ramyaragupathy I have updated circleci with the newer node versions, this one is specific to this PR, as this PR is generated from a fork by @varun2948.

#31 ERROR: denied: installation not allowed to Write organization package

Its an an auth issue where packages are not allowed to be pushed to github container registry from a forked repo.
(also its safe to ignore github actions related workflows for building docker images, as they are still being worked on, and is seperate from CircleCI's jobs.)

related to: #6405

Push to ghcr won't be allowed from third party repos or PR from third party. I will modify the workflow to remove the step so the failure does not happen.

Made the changes to exclude develop branch from triggering a container image build when receiving PR.