PiBrewing/craftbeerpi4

image-url for docker creation needs to be lowercase -> to be adapted

avollkopf opened this issue · 6 comments

image-url for docker creation needs to be lowercase -> to be adapted

@papauorg Same issues have been described here: https://github.com/orgs/community/discussions/25768

Maybe you can find a solution faster than i would :-)

@papauorg , @dereulenspiegel

Although, the image seems to be build correctly, it cannot be pushed:

ERROR: failed to solve: failed to push ghcr.io/pibrewing/craftbeerpi4:dev: unexpected status: 403 Forbidden
Error: buildx failed with: ERROR: failed to solve: failed to push ghcr.io/pibrewing/craftbeerpi4:dev: unexpected status: 403 Forbidden

Adding write permissions in the build.yml did not help.

Not sure, if settings in the org need to be changed:
image

Currently, I have no rights to change that setting

@avollkopf Yes, I think that's it. It should look like this:
image

Not sure if it has something to do with the casing, too. We'll see when the permissions are set ... :)

Edit:

Not sure, if settings in the org need to be changed:

I not sure how this is done in an org, but the permissions can usually be set on repository level

Edit:

Not sure, if settings in the org need to be changed:

I not sure how this is done in an org, but the permissions can usually be set on repository level

Right, I was also referring to the repo and not the entire org. But here I can't change the setting to 'Read and Write'

Hm, strange. I would expect the owner of the org to be allowed to change the repos settings. But otherwise we could try setting the permissions in the workflow file directy:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

Could change only the orgs global settings. Now repo settings have been changed and are flexible. Flow went through