#1726  Unable to push to onedev docker local package repository since update
Closed
bufferUnderrun opened 3 months ago

Hi Robin,

Just update from v9.6.0 to v10.0.0 and i'm no longer able to push the docker image to local repository.

seems to be API change ? there is a 404


10:06:16 #13 pushing layers 0.1s done
10:06:16 #13 ERROR: failed to push code.mydomain.fr/ges:0.2-56: unexpected status from POST request to https://code.mydomain.fr/v2/ges/blobs/uploads/: 404 Not Found
10:06:16 ------
10:06:16  > exporting to image:
10:06:16 ------
10:06:16 ERROR: failed to solve: failed to push code.mydomain.fr/ges:0.2-56: unexpected status from POST request to https://code.mydomain.fr/v2/ges/blobs/uploads/: 404 Not Found

Thanks for you help

Robin Shen commented 3 months ago

I forget to mention in the incompatiblity change that docker registry now takes the format <server>/<project path>/<repo name>:<tag>. For your url code.mydomain.fr/ges:0.2-56, please change it something as code.mydomain.fr/ges/<a repo name>:0.2-56

All images already published will be moved to default repo.

bufferUnderrun changed state to 'Closed' 3 months ago
Previous Value Current Value
Open
Closed
bufferUnderrun commented 3 months ago

thanks

issue 1 of 1
Type
Bug
Priority
Critical
Assignee
Affected Versions
10.0.0
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
onedev/server#1726
Please wait...
Page is in error, reload to recover