keeeewl it works

This commit is contained in:
2026-04-24 15:41:41 -04:00
parent ae35adc458
commit 7c75dbfd3b
+3 -3
View File
@@ -37,7 +37,7 @@ def main():
continue
if image["result"] and not image["result"]["has_update"]:
continue
refs.append(reference)
print("attempting to match images to references: " + ", ".join(refs))
@@ -58,8 +58,6 @@ def main():
print("Attempting to clean up dangling/unassumed images")
subprocess.run(f"docker image prune -a -f", shell=True)
else:
print("All up to date! :)")
if DISCORD_WEBHOOK_URL:
print("sending discord notification..")
@@ -76,6 +74,8 @@ def main():
"content-type": "application/json"
}
requests.post(DISCORD_WEBHOOK_URL, json=body, headers=headers)
else:
print("All up to date! :)")
if __name__ == "__main__":
main()