Update Article “2023-04-17-automatiser-la-publication-des-artefacts”
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
f56df242cb
commit
4e6ad693c0
1 changed files with 8 additions and 2 deletions
|
@ -36,7 +36,7 @@ Et maintenant imaginons les commandes de base :
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
alba static push -t albatros:0.9 publish/ 's3://download.deuxfleurs.org?endpoint=garage.deuxfleurs.fr®ion=garage'
|
alba static push -t albatros:0.9 publish/ 's3://download.deuxfleurs.org?endpoint=garage.deuxfleurs.fr®ion=garage'
|
||||||
alba registry push -t albatros:0.9 publish/ 's3://registry.deuxfleurs.org?endpoint=garage.deuxfleurs.fr®ion=garage'
|
alba container push -t albatros:0.9 publish/ 's3://registry.deuxfleurs.org?endpoint=garage.deuxfleurs.fr®ion=garage'
|
||||||
alba docker push publish/ docker.io/dxflrs/albatros:0.9
|
alba docker push publish/ docker.io/dxflrs/albatros:0.9
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ J'ai choisi d'utiliser un petit panel de bibliothèques pour faire la glue entre
|
||||||
- Cobra comme framework CLI
|
- Cobra comme framework CLI
|
||||||
- skopeo comme bibliothèque de manipulation des conteneurs
|
- skopeo comme bibliothèque de manipulation des conteneurs
|
||||||
|
|
||||||
## Publier un binaire statique
|
## Publier un binaire statique sur Garage
|
||||||
|
|
||||||
Après implémentation, voici la trace de la commande :
|
Après implémentation, voici la trace de la commande :
|
||||||
|
|
||||||
|
@ -86,6 +86,12 @@ HTTP/2 200
|
||||||
content-type: application/octet-stream
|
content-type: application/octet-stream
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Publier un conteneur sur Garage
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue