qindongliang commented on PR #53529:
URL: https://github.com/apache/spark/pull/53529#issuecomment-3675306225
> @qindongliang, can you make the GA green? I speculate it is due to your
GitHub settings.
Hi @yaooqinn,
Thank you for triggering the CI. I investigated the failure and found the
root cause:
The build itself succeeded (all layers are cached from Apache's registry),
but the push
to `ghcr.io/qindongliang/apache-spark-ci-image-docs:...` failed with
`permission_denied: write_package`.
This happens because:
1. The workflow uses `${{ github.repository_owner }}` to generate the image
URL,
which becomes `ghcr.io/qindongliang/...` in my fork
2. GitHub doesn't allow Actions to automatically create new packages in the
Container Registry
3. I've already set "Read and write permissions" for workflows in my repo
settings,
but it still doesn't work for creating new packages
My questions:
1. Is there a recommended way to configure fork repos to allow pushing to
ghcr.io?
Should I manually create placeholder packages first?
2. Or could you run the CI directly from the apache/spark side where the
packages
already exist?
Any guidance would be appreciated. Thank you!
<img width="2204" height="758" alt="image"
src="https://github.com/user-attachments/assets/29048355-b245-4af8-95a4-74a1806e808e"
/>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]