chore(deploy): switch publisher to Bash
This commit is contained in:
@ -27,14 +27,14 @@ Le fichier `docker-compose.prod.yml` consomme quatre images publiées sous `gite
|
||||
|
||||
### Construction et publication
|
||||
|
||||
Depuis la racine, avec Python 3, Git et Docker/BuildKit disponibles :
|
||||
Depuis la racine, avec Bash, Git et Docker/BuildKit disponibles :
|
||||
|
||||
```sh
|
||||
python3 scripts/publish-images.py --dry-run
|
||||
python3 scripts/publish-images.py
|
||||
python3 scripts/publish-images.py --tag v1.2.0 --dry-run --push
|
||||
./scripts/publish-images.sh --dry-run
|
||||
./scripts/publish-images.sh
|
||||
./scripts/publish-images.sh --tag v1.2.0 --dry-run --push
|
||||
# Après authentification séparée : publication explicite
|
||||
python3 scripts/publish-images.py --push
|
||||
./scripts/publish-images.sh --push
|
||||
```
|
||||
|
||||
Sans `--tag`, le SHA Git HEAD complet est utilisé, jamais `latest`. Utiliser un checkout propre validé par Git : le script construit les fichiers présents, et ne vérifie pas leur propreté. Les quatre builds doivent réussir avant le premier push. Un échec de push peut laisser une publication partielle : ne déployer qu’après succès complet. `--dry-run` lit seulement HEAD et affiche le plan, sans appel Docker, build, téléchargement ni push. Les labels OCI source/revision/version identifient Tradarr et, pour Laya, son dépôt amont et son commit épinglé. Le tag commun reste la version de livraison Tradarr.
|
||||
|
||||
Reference in New Issue
Block a user