-
Notifications
You must be signed in to change notification settings - Fork 253
Closed
Description
I'm trying to run the dockerized version but fail to do so because of the following error:
Skipping 2048 (https://*****:x-oauth-basic@github.com/paranerd/2048.git) since it's not initialized
Here's my docker run
command:
sudo docker run -v ./data:/data ghcr.io/josegonzalez/python-github-backup -o /data --repositories -t {token} paranerd
Here's what I found out so far:
- The error only occurs when pulling from ghcr, building locally works just fine!
- I found that the issue seems to be originating by the fact that
git ls-remote
returns128
, so I ran:andsudo docker run --rm -e GIT_CURL_VERBOSE=1 -e GIT_TRACE=1 --entrypoint "/usr/bin/git" ghcr.io/josegonzalez/python-github-backup ls-remote https://github.com/paranerd/2048.git
sudo docker run --rm -e GIT_CURL_VERBOSE=1 -e GIT_TRACE=1 --entrypoint "/usr/bin/git" alpine/git ls-remote https://github.com/paranerd/2048.git
- The second command (using
alpine/git
) worked as expected - The only difference between the two runs seems to be that the first (official) one sends an
Authorization
header which the second one (as well as my local one) does not and I have no idea where that's coming from...
Any suggestions to what may cause this are highly appreciated!
Metadata
Metadata
Assignees
Labels
No labels