Clean up manual Watchtower containers
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 11s

This commit is contained in:
Kroonk
2026-05-21 17:07:28 +02:00
parent c3ac1be083
commit 5b252f17fd
3 changed files with 71 additions and 13 deletions

View File

@@ -469,8 +469,7 @@ async function runWatchtowerOnce() {
async function pollWatchtowerRun(runId, attempt = 0) {
try {
const cleanup = attempt > 0 ? '&cleanup=1' : '';
const response = await fetch(`/api/watchtower/runs/${encodeURIComponent(runId)}?${cleanup}`, {
const response = await fetch(`/api/watchtower/runs/${encodeURIComponent(runId)}`, {
cache: 'no-store',
headers: {
Authorization: `Bearer ${tokenSet.id_token}`