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
f3e912f1bb
commit
907b735c06
1 changed files with 13 additions and 0 deletions
|
@ -150,3 +150,16 @@ const albatros_tags = async () => {
|
|||
```
|
||||
|
||||
Ensuite il ne reste plus qu'à l'insérer dans le DOM de la page :
|
||||
|
||||
```javascript
|
||||
const inject_list = manifest => {
|
||||
const c = manifest.tags.map(t => `registry.deuxfleurs.org/albatros:${t}`).join('\n')
|
||||
document.querySelector('pre').textContent = c
|
||||
}
|
||||
|
||||
(async () => inject_list(await albatros_tags()))()
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue