Not working yet.

This commit is contained in:
Your Name
2025-05-03 10:24:02 +12:00
parent 24a4c66c13
commit a658ba1de6
5 changed files with 3 additions and 46 deletions

View File

@@ -21,7 +21,7 @@ Write access is controlled by tokens.
- `curl http://localhost:8123/meta/squashkiwi:latest`
- a simple welcome page is served at `/index.html` for those browsing to the site.
- to upload a file (via http put)
- `curl -T object_file http://dtr.jde.nz/WRITE_TOKEN/LABEL:TAG`
- `curl -T object_file http://localhost:8123/WRITE_TOKEN/LABEL:TAG`
- the object_file is uploaded, hashed, added to the registry (if that hash doesn't already exist), and {label:tag,hash} is added to the directory index.
- the server is configured via a configuration file which allows setting:
- the list of write access tokens