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
4ac5cfd5e8
commit
97e00a908f
1 changed files with 21 additions and 0 deletions
|
@ -48,6 +48,27 @@ On peut regarder un peu ce que donne le registre Docker pour Garage :
|
|||
}
|
||||
```
|
||||
|
||||
On peut reprduire le même contenu sur notre registre en commençant par récupérer tous les manifests qui ne commencent pas par sha256 :
|
||||
|
||||
```bash
|
||||
aws s3 ls s3://registry.deuxfleurs.org/v2/albatros/manifests/ | \
|
||||
tr -s ' ' | \
|
||||
cut -d' ' -f 4 | \
|
||||
grep -v '^sha256:'
|
||||
# 0.9
|
||||
```
|
||||
|
||||
On peut construire le JSON :
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "albatros",
|
||||
"tags": [
|
||||
"0.9"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue