add some reserche

This commit is contained in:
Histausse 2023-05-21 16:48:51 +02:00
parent 3271450011
commit 09c4d95376

27
TODO.md
View file

@ -16,3 +16,30 @@ podman login -u histausse -p `secret-tool lookup Title 'Gitea Token'` git.pains
podman push test_flake_poetry2nix:latest git.pains-perdus.fr/histausse/test_flake_poetry2nix:latest
```
Put secret in CI:
```
connection.request(
"POST",
f"/api/repos/{repo}/secrets",
json.dumps(
{
"name": "test_token",
"value": "loren ispum",
"image": ["test"],
"event": ["push", "tag"],
}
),
{
"Authorization": f"Bearer {API_KEY}",
"content-type": "application/json",
},
)
```
Gen badge:
```
https://github.com/smarie/python-genbadge/issues
```