Closed lanzhixi closed 8 months ago
Hey @lanzhixi ! Have you configured this in your repository? Is important to give read and write permission to github workflows to allow it to publish packages to github container registry.
Yes, I have given permission. The entire workflow action shows that the execution is successful, but when you click to view the details, it shows that the publish image fails, which is the screenshot above.
Latest attempt, I have successfully published the image. Thanks!
hey @lanzhixi thank you for reporting this difficulty. Could you tell us what exactly did you do to solve the issue on your end? It might be helpful for our documentation
Okay, I'll describe it in detail, hope it's useful to you. Under the premise of granting relevant permissions, when modifying config.toml, be sure to note that REGISTRY_NAME must be the same as your GitHub account name. My account name originally did not have a "-" to connect it, but I added it artificially, which caused the publish image to fail.
When I created a new piece, I failed to publish the image. The error message is as follows: {"errorDetail":{"message":"denied: not_found: owner not found"}, It is worth noting that logging in to github container register was successful, and building the image was also successful, and the error only occurred during the publish piece image. I guess it is a problem with secrets. Can you tell me how to set it up here? If not, can you share your steps? Thank you so much!