This commit is contained in:
quietsy 2025-02-09 17:55:53 +02:00
parent 44e6c866c0
commit 9a57b41d96
2 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class EnvVar(BaseModel):
class Custom(BaseModel):
name: str
name_compose: str
value: str
value: str | list[str]
desc: str
optional: bool

View File

@ -142,6 +142,7 @@ def get_mac_address(readme_vars):
return MacAddress(mac_address=hostname, desc=readme_vars.get("param_mac_address_desc", ""), optional=optional)
def get_image(repo):
print(f"Processing {repo.name}")
if not repo.name.startswith("docker-") or repo.name.startswith("docker-baseimage-"):
return None
readme_vars = gh.get_readme_vars(repo)