GlueOps / github-actions-build-push-containers

10 stars 2 forks source link

Push denied, but action still succeeds #34

Open itavero opened 1 month ago

itavero commented 1 month ago

I tried to use this action as a quick way to get some proof of concept pushed out. Unfortunately I think there is an oversight in the implementation.

In a workflow run on my public repo, I see a line that says:

denied: installation not allowed to Create organization package

This is within the Pushing the image to ghcr.io ... section.

The job succeeds however, despite no image being actually pushed. Of course the failure itself is probably due to an issue on my side, but I would have at least expected the action to fail.

fernandoataoldotcom commented 1 month ago

hi @itavero - thanks a lot for using our action and I agree that throwing an error would make more sense than succeeding if you get a permission denied error.

Loking at your actions history, I'm glad you were able to sort the permissions issue.

I'll take a look at updating the action's handling of permission denied errors soon.