add some reserche
This commit is contained in:
parent
3271450011
commit
09c4d95376
27
TODO.md
27
TODO.md
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue