Add pull container image, token config

This commit is contained in:
Aurelien Vaillant
2022-03-02 14:20:48 +01:00
parent 948b4077e6
commit 72becd2538
3 changed files with 25 additions and 10 deletions
+1 -10
View File
@@ -1,16 +1,7 @@
import os
import requests
from pathlib import Path
from github import Github
def read_token():
token_file = Path(os.getcwd(), 'tests', 'token.txt')
with open(token_file, 'r') as f:
token = f.read()
return token
from misc import read_token
def get_release_file(filename: str, repo: str, prerelease: bool = False):