FEAT: #12 Added software tests
Some checks failed
Build and Push Development Docker Image / build-and-push (push) Failing after 3m3s

This commit is contained in:
2025-05-31 18:26:21 +01:00
parent 03b95a6c8c
commit 0b299b9410
7 changed files with 351 additions and 17 deletions

View File

@@ -54,13 +54,7 @@ export async function checkImage(repo: GitRepo): Promise<boolean> {
const URL = repo.html_url + IMAGE_URL_SUFFIX;
console.log("Checking image:", URL);
const response = await fetch(URL);
if (response.ok) {
console.log("Image found!");
return true;
} else {
console.log("Image not found!");
return false;
}
return response.ok;
} catch (error) {
return false;
}