forked from quentin/quentin.dufour.io
Update Article “2023-04-12-un-outil-sans-daemon-pour-gérer-ses-artefacts-de-build”
This commit is contained in:
parent
2799592ec5
commit
cb13c8406b
1 changed files with 21 additions and 3 deletions
|
@ -232,9 +232,27 @@ Donc on pourrait avoir ces URL :
|
|||
|
||||
```
|
||||
list tags: <host>/df-dist-v1/<name>
|
||||
list arch: <host>/df-dist-v1/<name>/<tag>
|
||||
list flavors: <host>/df-dist-v1/<name>/<tag>
|
||||
blobs: <host>/df-dist-v1/<name>/<tag>/<go_os>/<go_arch>/<binary>
|
||||
```
|
||||
|
||||
Pour la liste des tags, on reprend le format de Docker:
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "albatros",
|
||||
"tags": [
|
||||
"0.9"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Pour la déclinaison (_flavor_), on s'inspire du manifest multi arch de Docker :
|
||||
|
||||
```json
|
||||
{
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue