Update Article “2023-04-12-un-outil-sans-daemon-pour-gérer-ses-artefacts-de-build”
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2799592ec5
commit
cb13c8406b
1 changed files with 21 additions and 3 deletions
|
@ -231,10 +231,28 @@ Se pose aussi la question du triple LLVM, c'est ce qui est utilisé par Rust, ma
|
|||
Donc on pourrait avoir ces URL :
|
||||
|
||||
```
|
||||
list tags: <host>/df-dist-v1/<name>
|
||||
list arch: <host>/df-dist-v1/<name>/<tag>
|
||||
blobs: <host>/df-dist-v1/<name>/<tag>/<go_os>/<go_arch>/<binary>
|
||||
list tags: <host>/df-dist-v1/<name>
|
||||
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