Infra/hosting #63

Merged
Tom merged 2 commits from infra/hosting into main 2026-10-10 22:29:28 +02:00
2 changed files with 7 additions and 0 deletions
Showing only changes of commit 955e2faa3f - Show all commits

No files matched your search

+5
View File
@@ -119,3 +119,8 @@ jobs:
echo "eb-blazor did not report healthy within 60 seconds." >&2 echo "eb-blazor did not report healthy within 60 seconds." >&2
docker logs --tail 50 eb-blazor >&2 docker logs --tail 50 eb-blazor >&2
exit 1 exit 1
# Every deploy leaves the previous :latest behind as an untagged image. Only
# untagged images go; a rollback pulls its :<sha> from the registry anyway.
- name: Remove untagged images
run: docker image prune -f
+2
View File
@@ -130,6 +130,8 @@ Merge the pull request into `main`. The workflow then:
`compose.yaml` — only containers whose image or config changed are recreated, `compose.yaml` — only containers whose image or config changed are recreated,
3. checks `http://eb-blazor:8080/health` from inside `proxynet` (health gate). A 3. checks `http://eb-blazor:8080/health` from inside `proxynet` (health gate). A
red run means the new version is live but not healthy: roll back (below). red run means the new version is live but not healthy: roll back (below).
4. removes untagged images (`docker image prune -f`) — the previous `:latest`
loses its tag on every deploy and would pile up on Unraid otherwise.
Pushes that only touch `docs/` or Markdown files trigger nothing. A manual run Pushes that only touch `docs/` or Markdown files trigger nothing. A manual run
(**Actions** → **Build and deploy** → **Run workflow**) redeploys the current (**Actions** → **Build and deploy** → **Run workflow**) redeploys the current