On Tue, Feb 18, 2025 at 08:32:10AM +0000, Hangbin Liu wrote: > > Hi everyone, > > Apologies if I’m sending this to the wrong list. > > I’m facing an issue authorizing fedpkg push inside a container. When I run > the command, it provides a link for authorization. However, after logging in, > the link redirects to a localhost address, which is unreachable since I’m > running the command inside a container. > > I also tried running git push directly, but it always returns "Authentication > failed," even when I enter the correct password. > > Is there any other way to push my new code to the RPM repository? > > Thanks in advance for your help! It sounds like you might be trying to do a https push? When you use fedpkg and specify -a, it will try and get a token to authenticate you, but to do this it needs you to login on a browser, so thats why it's redirecting to localhost. :( I'm not sure how off hand to get this working in a container. I suppose you could do a push outside the container and copy the token in? kevin -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue